]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agovm passed in box_alien and alien_offset (win32)
Phil Dawes [Sat, 22 Aug 2009 20:35:47 +0000 (21:35 +0100)]
vm passed in box_alien and alien_offset (win32)

14 years agoremoved all vm-> singleton accesses from inlineimpls
Phil Dawes [Sat, 22 Aug 2009 10:15:58 +0000 (11:15 +0100)]
removed all vm-> singleton accesses from inlineimpls

14 years agoconverted box_* float functions to use vm (x86 win32)
Phil Dawes [Sat, 22 Aug 2009 10:04:34 +0000 (11:04 +0100)]
converted box_* float functions to use vm (x86 win32)

14 years agoconverted box_* integer functions to use vm (x86 windows)
Phil Dawes [Wed, 2 Sep 2009 07:06:00 +0000 (08:06 +0100)]
converted box_* integer functions to use vm (x86 windows)

14 years agoconverted box_* integer functions to use vm (x86 windows)
Phil Dawes [Sat, 22 Aug 2009 09:50:52 +0000 (10:50 +0100)]
converted box_* integer functions to use vm (x86 windows)

14 years agoadded vm ptr to x86.32 boxing asm
Phil Dawes [Sat, 22 Aug 2009 09:21:32 +0000 (10:21 +0100)]
added vm ptr to x86.32 boxing asm

14 years agoadded code to pass vm ptr to some unboxers
Phil Dawes [Fri, 21 Aug 2009 20:24:53 +0000 (21:24 +0100)]
added code to pass vm ptr to some unboxers

14 years agomoved gc_locals accessors into vm
Phil Dawes [Fri, 21 Aug 2009 20:02:13 +0000 (21:02 +0100)]
moved gc_locals accessors into vm

14 years agoturned errno() methods back into functions since they should already be thread safe
Phil Dawes [Fri, 21 Aug 2009 19:44:06 +0000 (20:44 +0100)]
turned errno() methods back into functions since they should already be thread safe

14 years agofixed up getenv compiler intrinsic to use vm struct userenv
Phil Dawes [Fri, 21 Aug 2009 19:13:49 +0000 (20:13 +0100)]
fixed up getenv compiler intrinsic to use vm struct userenv

14 years agoadded padding to align userenv to an 8byte boundary
Phil Dawes [Fri, 21 Aug 2009 18:54:47 +0000 (19:54 +0100)]
added padding to align userenv to an 8byte boundary

14 years agomoved userenv into vm in C code (DOESNT BOOTSTRAP YET!!!)
Phil Dawes [Fri, 21 Aug 2009 18:27:40 +0000 (19:27 +0100)]
moved userenv into vm in C code (DOESNT BOOTSTRAP YET!!!)

14 years agogot debug compiles working again
Phil Dawes [Fri, 21 Aug 2009 17:33:04 +0000 (18:33 +0100)]
got debug compiles working again

14 years agomoved stack_traces_p into the vm
Phil Dawes [Fri, 21 Aug 2009 07:21:44 +0000 (08:21 +0100)]
moved stack_traces_p into the vm

14 years agomoved cards_offset and decks_offset into vm struct (for x86)
Phil Dawes [Thu, 20 Aug 2009 19:45:06 +0000 (20:45 +0100)]
moved cards_offset and decks_offset into vm struct (for x86)

14 years agomoved allot_markers_offset variable into vm struct
Phil Dawes [Thu, 20 Aug 2009 19:35:54 +0000 (20:35 +0100)]
moved allot_markers_offset variable into vm struct

14 years agonursery global variable moved into vm
Phil Dawes [Thu, 20 Aug 2009 19:20:35 +0000 (20:20 +0100)]
nursery global variable moved into vm

14 years agorenamed to vm-field-offset. Slava's better at naming than me
Phil Dawes [Thu, 20 Aug 2009 18:58:39 +0000 (19:58 +0100)]
renamed to vm-field-offset. Slava's better at naming than me

14 years agoppc asm to get stack_chain using vm ptr
sheeple [Sun, 30 Aug 2009 19:55:46 +0000 (14:55 -0500)]
ppc asm to get stack_chain using vm ptr

14 years agoAdded a vm C-STRUCT, using it for struct offsets in x86 asm
Phil Dawes [Thu, 20 Aug 2009 18:39:40 +0000 (19:39 +0100)]
Added a vm C-STRUCT, using it for struct offsets in x86 asm

14 years agomoved stack_chain into vm struct
Phil Dawes [Thu, 20 Aug 2009 18:20:48 +0000 (19:20 +0100)]
moved stack_chain into vm struct

14 years agoremoved save_stacks global function
Phil Dawes [Thu, 20 Aug 2009 17:57:04 +0000 (18:57 +0100)]
removed save_stacks global function

14 years agothrow_impl now forwards the vm ptr
Phil Dawes [Wed, 19 Aug 2009 18:40:09 +0000 (19:40 +0100)]
throw_impl now forwards the vm ptr

14 years agopassing vm ptr to lazy_jit_compile mostly working
Phil Dawes [Wed, 19 Aug 2009 18:02:12 +0000 (19:02 +0100)]
passing vm ptr to lazy_jit_compile mostly working

14 years agoAdded %vm-invoke to pass vm ptr to vm functions (x86.32 only, otherwise uses singleto...
Phil Dawes [Tue, 18 Aug 2009 20:03:22 +0000 (21:03 +0100)]
Added %vm-invoke to pass vm ptr to vm functions (x86.32 only, otherwise uses singleton vm)

14 years agovm ptr passed to primitives on X86.32 (other cpus still use singleton vm ptr)
Phil Dawes [Tue, 18 Aug 2009 19:49:22 +0000 (20:49 +0100)]
vm ptr passed to primitives on X86.32 (other cpus still use singleton vm ptr)

14 years agoadded VM relocation type
Phil Dawes [Tue, 18 Aug 2009 19:40:26 +0000 (20:40 +0100)]
added VM relocation type

14 years agomoved os-windows-nt functions into the vm
Phil Dawes [Tue, 18 Aug 2009 19:22:11 +0000 (20:22 +0100)]
moved os-windows-nt functions into the vm

14 years agoDev checkpoint
Phil Dawes [Tue, 18 Aug 2009 19:03:11 +0000 (20:03 +0100)]
Dev checkpoint

14 years agomoved some os-windows functions into the vm
Phil Dawes [Tue, 18 Aug 2009 18:52:11 +0000 (19:52 +0100)]
moved some os-windows functions into the vm

14 years agomoved align_page into vm
Phil Dawes [Tue, 18 Aug 2009 18:35:12 +0000 (19:35 +0100)]
moved align_page into vm

14 years agoDev checkpoint
Phil Dawes [Tue, 18 Aug 2009 18:02:04 +0000 (19:02 +0100)]
Dev checkpoint

14 years agogot os-macosx.mm to compile
Phil Dawes [Wed, 26 Aug 2009 15:05:50 +0000 (16:05 +0100)]
got os-macosx.mm to compile

14 years agoFixed typo from upstream
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
Fixed typo from upstream

14 years agoremoved some global functions from errors.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
removed some global functions from errors.cpp

14 years agoremoved some global functions from utilities.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
removed some global functions from utilities.cpp

14 years agoremoved some global functions from inline_cache.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
removed some global functions from inline_cache.cpp

14 years agoremoved some global functions from dispatch.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
removed some global functions from dispatch.cpp

14 years agoremoved some global functions from quotations.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
removed some global functions from quotations.cpp

14 years agoremoved some global functions from alien.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed some global functions from alien.cpp

14 years agoremoved some global functions from callstack.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed some global functions from callstack.cpp

14 years agoremoved some global functions from image.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed some global functions from image.cpp

14 years agoremoved some global functions from io.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed some global functions from io.cpp

14 years agoremoved some global functions from math.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed some global functions from math.cpp

14 years agoremoved global functions from words.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed global functions from words.cpp

14 years agoremoved global functions from byte_arrays.cpp and tuples.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed global functions from byte_arrays.cpp and tuples.cpp

14 years agoremoved global functions from strings.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed global functions from strings.cpp

14 years agoremoved global functions from arrays.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed global functions from arrays.cpp

14 years agoremoved global functions from debug.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed global functions from debug.cpp

14 years agoremoved global functions from code_block.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed global functions from code_block.cpp

14 years agoremoved global functions from bignum.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed global functions from bignum.cpp

14 years agoremoved global functions from profiler
Phil Dawes [Mon, 17 Aug 2009 20:37:16 +0000 (21:37 +0100)]
removed global functions from profiler

14 years agoremoved some global functions from code_heap
Phil Dawes [Mon, 17 Aug 2009 20:37:16 +0000 (21:37 +0100)]
removed some global functions from code_heap

14 years agoremoved global functions from code_gc
Phil Dawes [Mon, 17 Aug 2009 20:37:16 +0000 (21:37 +0100)]
removed global functions from code_gc

14 years agoremoved global functions from data_gc
Phil Dawes [Mon, 17 Aug 2009 20:37:16 +0000 (21:37 +0100)]
removed global functions from data_gc

14 years agoremoved non-primitive global functions from data_heap
Phil Dawes [Mon, 17 Aug 2009 20:37:16 +0000 (21:37 +0100)]
removed non-primitive global functions from data_heap

14 years agoDev checkpoint
Phil Dawes [Mon, 17 Aug 2009 20:37:15 +0000 (21:37 +0100)]
Dev checkpoint

14 years agovm ptr passed to untag_check
Phil Dawes [Mon, 17 Aug 2009 20:37:15 +0000 (21:37 +0100)]
vm ptr passed to untag_check

14 years agomoved tagged template code back into tagged.hpp header
Phil Dawes [Mon, 17 Aug 2009 20:37:15 +0000 (21:37 +0100)]
moved tagged template code back into tagged.hpp header

14 years agosplit the moved inline stuff into separate header file
Phil Dawes [Mon, 17 Aug 2009 20:37:15 +0000 (21:37 +0100)]
split the moved inline stuff into separate header file

14 years agomoved tagged.hpp templates to vm.hpp
Phil Dawes [Mon, 17 Aug 2009 20:37:15 +0000 (21:37 +0100)]
moved tagged.hpp templates to vm.hpp

14 years agomoved more math.hpp inline functions to vm
Phil Dawes [Mon, 17 Aug 2009 20:37:15 +0000 (21:37 +0100)]
moved more math.hpp inline functions to vm

14 years agoremoved stub function from run
Phil Dawes [Mon, 17 Aug 2009 20:37:14 +0000 (21:37 +0100)]
removed stub function from run

14 years agoremoved some stub functions from contexts
Phil Dawes [Mon, 17 Aug 2009 20:37:14 +0000 (21:37 +0100)]
removed some stub functions from contexts

14 years agoupdated function ptr calls (iterators etc..) to take a vm parameter
Phil Dawes [Mon, 17 Aug 2009 20:37:14 +0000 (21:37 +0100)]
updated function ptr calls (iterators etc..) to take a vm parameter

14 years agoDev checkpoint
Phil Dawes [Mon, 17 Aug 2009 20:37:14 +0000 (21:37 +0100)]
Dev checkpoint

14 years agoDev checkpoint
Phil Dawes [Mon, 17 Aug 2009 20:37:14 +0000 (21:37 +0100)]
Dev checkpoint

14 years agoDev checkpoint
Phil Dawes [Mon, 17 Aug 2009 20:37:14 +0000 (21:37 +0100)]
Dev checkpoint

14 years agoDev checkpoint
Phil Dawes [Mon, 17 Aug 2009 20:37:13 +0000 (21:37 +0100)]
Dev checkpoint

14 years agomoved global state from math into vm
Phil Dawes [Mon, 17 Aug 2009 20:37:13 +0000 (21:37 +0100)]
moved global state from math into vm

14 years agomoved global state from inline_cache into vm
Phil Dawes [Mon, 17 Aug 2009 20:37:13 +0000 (21:37 +0100)]
moved global state from inline_cache into vm

14 years agomoved global state from dispatch into vm
Phil Dawes [Mon, 17 Aug 2009 20:37:13 +0000 (21:37 +0100)]
moved global state from dispatch into vm

14 years agomoved global state from debug into vm
Phil Dawes [Mon, 17 Aug 2009 20:37:13 +0000 (21:37 +0100)]
moved global state from debug into vm

14 years agomoved global state from code_heap into vm
Phil Dawes [Mon, 17 Aug 2009 20:37:13 +0000 (21:37 +0100)]
moved global state from code_heap into vm

14 years agomoved global state from data_heap into vm
Phil Dawes [Mon, 17 Aug 2009 20:37:13 +0000 (21:37 +0100)]
moved global state from data_heap into vm

14 years agomoved global state from data_gc into vm
Phil Dawes [Mon, 17 Aug 2009 20:37:12 +0000 (21:37 +0100)]
moved global state from data_gc into vm

14 years agomoved global state from contexts and run into vm
Phil Dawes [Mon, 17 Aug 2009 20:37:12 +0000 (21:37 +0100)]
moved global state from contexts and run into vm
Also renamed template type from T to TYPE to prevent clash with vm::T (true)

14 years agoreordered master to untangle dependency chain a bit
Phil Dawes [Mon, 17 Aug 2009 20:37:12 +0000 (21:37 +0100)]
reordered master to untangle dependency chain a bit

14 years agomoved callstack.hpp inline functions to vm.hpp
Phil Dawes [Mon, 17 Aug 2009 20:37:12 +0000 (21:37 +0100)]
moved callstack.hpp inline functions to vm.hpp

14 years agomoved math.hpp inline functions to vm.hpp
Phil Dawes [Mon, 17 Aug 2009 20:37:12 +0000 (21:37 +0100)]
moved math.hpp inline functions to vm.hpp

14 years agomoved byte_arrays.hpp inline functions to vm.hpp
Phil Dawes [Mon, 17 Aug 2009 20:37:12 +0000 (21:37 +0100)]
moved byte_arrays.hpp inline functions to vm.hpp

14 years agomoved arrays.hpp inline functions to vm.hpp
Phil Dawes [Mon, 17 Aug 2009 20:37:11 +0000 (21:37 +0100)]
moved arrays.hpp inline functions to vm.hpp

14 years agomoved generic_arrays inline functions to vm.hpp
Phil Dawes [Mon, 17 Aug 2009 20:37:11 +0000 (21:37 +0100)]
moved generic_arrays inline functions to vm.hpp

14 years agomoved data_gc and local_roots inline functions to vm.hpp
Phil Dawes [Mon, 17 Aug 2009 20:37:11 +0000 (21:37 +0100)]
moved data_gc and local_roots inline functions to vm.hpp

14 years agomoved write_barrier inline function impls to vm.hpp
Phil Dawes [Mon, 17 Aug 2009 20:37:11 +0000 (21:37 +0100)]
moved write_barrier inline function impls to vm.hpp

14 years agomoved callstack.hpp functions to vm
Phil Dawes [Mon, 17 Aug 2009 20:37:11 +0000 (21:37 +0100)]
moved callstack.hpp functions to vm

14 years agomoved math.hpp functions to vm
Phil Dawes [Mon, 17 Aug 2009 20:37:11 +0000 (21:37 +0100)]
moved math.hpp functions to vm

14 years agomoved arrays.hpp functions to vm
Phil Dawes [Mon, 17 Aug 2009 20:37:10 +0000 (21:37 +0100)]
moved arrays.hpp functions to vm

14 years agomoved generic_array.hpp functions to vm
Phil Dawes [Mon, 17 Aug 2009 20:37:10 +0000 (21:37 +0100)]
moved generic_array.hpp functions to vm

14 years agomoved write_barrier functions to vm
Phil Dawes [Mon, 17 Aug 2009 20:37:10 +0000 (21:37 +0100)]
moved write_barrier functions to vm

14 years agomoved data_gc templates and inline functions to vm
Phil Dawes [Mon, 17 Aug 2009 20:37:10 +0000 (21:37 +0100)]
moved data_gc templates and inline functions to vm

14 years agomoved reallot_array into vm
Phil Dawes [Mon, 17 Aug 2009 20:37:10 +0000 (21:37 +0100)]
moved reallot_array into vm

14 years agoadded vm member to gc_bignum
Phil Dawes [Mon, 17 Aug 2009 20:37:10 +0000 (21:37 +0100)]
added vm member to gc_bignum

14 years agoadded vm member to gc_root and growable arrays
Phil Dawes [Mon, 17 Aug 2009 20:37:09 +0000 (21:37 +0100)]
added vm member to gc_root and growable arrays

14 years agoadded vm member to jit classes
Phil Dawes [Mon, 17 Aug 2009 20:37:09 +0000 (21:37 +0100)]
added vm member to jit classes

14 years agomoved local roots state to vm, shuffled includes around
Phil Dawes [Mon, 17 Aug 2009 20:37:09 +0000 (21:37 +0100)]
moved local roots state to vm, shuffled includes around

14 years agofactorvm initialised globally
Phil Dawes [Mon, 17 Aug 2009 20:37:09 +0000 (21:37 +0100)]
factorvm initialised globally

14 years agomoved utilities.cpp functions to vm
Phil Dawes [Mon, 17 Aug 2009 20:37:09 +0000 (21:37 +0100)]
moved utilities.cpp functions to vm

14 years agomoved factor.cpp functions to vm
Phil Dawes [Mon, 17 Aug 2009 20:37:09 +0000 (21:37 +0100)]
moved factor.cpp functions to vm

14 years agomoved inline_cache functions to vm
Phil Dawes [Mon, 17 Aug 2009 20:37:08 +0000 (21:37 +0100)]
moved inline_cache functions to vm