Commit Graph

17236 Commits (a6e1e39e23a9126ad41b692893f76b24f5cc7382)

Author SHA1 Message Date
Phil Dawes a6e1e39e23 passing ptr in boolean boxing and save_callstack_bottom 2009-09-16 08:17:26 +01:00
Phil Dawes 915c765ecb Added basic win32 start-thread support 2009-09-16 08:17:26 +01:00
Phil Dawes ce44511071 vm passed in box_alien and alien_offset (win32) 2009-09-16 08:16:33 +01:00
Phil Dawes 4d6294693d removed all vm-> singleton accesses from inlineimpls 2009-09-16 08:16:33 +01:00
Phil Dawes 49e3efddfb converted box_* float functions to use vm (x86 win32) 2009-09-16 08:16:33 +01:00
Phil Dawes 1f642ab303 converted box_* integer functions to use vm (x86 windows) 2009-09-16 08:16:33 +01:00
Phil Dawes e50ab40c78 converted box_* integer functions to use vm (x86 windows) 2009-09-16 08:16:33 +01:00
Phil Dawes 6c046ec5bf added vm ptr to x86.32 boxing asm 2009-09-16 08:16:33 +01:00
Phil Dawes 780415b159 added code to pass vm ptr to some unboxers 2009-09-16 08:16:32 +01:00
Phil Dawes cefc0f7e08 moved gc_locals accessors into vm 2009-09-16 08:16:32 +01:00
Phil Dawes c0eefe9ed3 turned errno() methods back into functions since they should already be thread safe 2009-09-16 08:16:32 +01:00
Phil Dawes 2a1a4ccf27 fixed up getenv compiler intrinsic to use vm struct userenv 2009-09-16 08:16:32 +01:00
Phil Dawes 4d98fe0157 added padding to align userenv to an 8byte boundary 2009-09-16 08:16:32 +01:00
Phil Dawes 48d385e5d9 moved userenv into vm in C code (DOESNT BOOTSTRAP YET!!!) 2009-09-16 08:16:32 +01:00
Phil Dawes d4f602c9e7 got debug compiles working again 2009-09-16 08:16:32 +01:00
Phil Dawes 7de311c0da moved stack_traces_p into the vm 2009-09-16 08:16:31 +01:00
Phil Dawes cb3df86491 moved cards_offset and decks_offset into vm struct (for x86) 2009-09-16 08:16:31 +01:00
Phil Dawes 74e99cb6fb moved allot_markers_offset variable into vm struct 2009-09-16 08:16:31 +01:00
Phil Dawes fd72e140d2 nursery global variable moved into vm 2009-09-16 08:16:31 +01:00
Phil Dawes 6da959ff3b renamed to vm-field-offset. Slava's better at naming than me 2009-09-16 08:16:31 +01:00
sheeple 3602f86ab1 ppc asm to get stack_chain using vm ptr 2009-09-16 08:16:31 +01:00
Phil Dawes 77a13b1b6a Added a vm C-STRUCT, using it for struct offsets in x86 asm 2009-09-16 08:16:31 +01:00
Phil Dawes f9f1031dd8 moved stack_chain into vm struct 2009-09-16 08:16:31 +01:00
Phil Dawes 2c58deb8e5 removed save_stacks global function 2009-09-16 08:16:30 +01:00
Phil Dawes 53aa98902e throw_impl now forwards the vm ptr 2009-09-16 08:16:30 +01:00
Phil Dawes 60d0300876 passing vm ptr to lazy_jit_compile mostly working 2009-09-16 08:16:30 +01:00
Phil Dawes 1fda8af73b Added %vm-invoke to pass vm ptr to vm functions (x86.32 only, otherwise uses singleton vm) 2009-09-16 08:16:30 +01:00
Phil Dawes df37e010d4 vm ptr passed to primitives on X86.32 (other cpus still use singleton vm ptr) 2009-09-16 08:16:30 +01:00
Phil Dawes b70e60eaea added VM relocation type 2009-09-16 08:16:30 +01:00
Phil Dawes c290eb67ab moved os-windows-nt functions into the vm 2009-09-16 08:16:30 +01:00
Phil Dawes 9ec000c570 Dev checkpoint 2009-09-16 08:16:29 +01:00
Phil Dawes 1431ae806f moved some os-windows functions into the vm 2009-09-16 08:16:29 +01:00
Phil Dawes 3fef06d21d moved align_page into vm 2009-09-16 08:16:29 +01:00
Phil Dawes fa34bc858c Dev checkpoint 2009-09-16 08:16:29 +01:00
Phil Dawes 145c90c7f4 got os-macosx.mm to compile 2009-09-16 08:16:29 +01:00
Phil Dawes 5f7e6801b0 Fixed typo from upstream 2009-09-16 08:16:29 +01:00
Phil Dawes 11bde92057 removed some global functions from errors.cpp 2009-09-16 08:16:29 +01:00
Phil Dawes 27a50886d7 removed some global functions from utilities.cpp 2009-09-16 08:16:29 +01:00
Phil Dawes 23a5207e90 removed some global functions from inline_cache.cpp 2009-09-16 08:16:28 +01:00
Phil Dawes 6727a19ba8 removed some global functions from dispatch.cpp 2009-09-16 08:16:28 +01:00
Phil Dawes 3ea6e4c0bc removed some global functions from quotations.cpp 2009-09-16 08:16:28 +01:00
Phil Dawes 16db3255e7 removed some global functions from alien.cpp 2009-09-16 08:16:28 +01:00
Phil Dawes 0e49c2848c removed some global functions from callstack.cpp 2009-09-16 08:16:28 +01:00
Phil Dawes 4bdb4853ca removed some global functions from image.cpp 2009-09-16 08:16:28 +01:00
Phil Dawes ff3b226908 removed some global functions from io.cpp 2009-09-16 08:16:28 +01:00
Phil Dawes c4b2468cb2 removed some global functions from math.cpp 2009-09-16 08:16:28 +01:00
Phil Dawes 7dc4bcb9b2 removed global functions from words.cpp 2009-09-16 08:16:28 +01:00
Phil Dawes b1783f2db4 removed global functions from byte_arrays.cpp and tuples.cpp 2009-09-16 08:16:27 +01:00
Phil Dawes af1431e364 removed global functions from strings.cpp 2009-09-16 08:16:27 +01:00
Phil Dawes f6fcb6d1ec removed global functions from arrays.cpp 2009-09-16 08:16:27 +01:00