Slava Pestov
f38d2f91f6
Words which didn't compile cannot be run at all
2009-04-20 22:05:41 -05:00
Slava Pestov
78f168e304
Remove code_length field from F_CODE_BLOCK struct, and make F_BLOCK the head of F_CODE_BLOCK to simplify other code
2009-03-19 03:45:37 -05:00
Slava Pestov
ed1a2855b5
Big code GC refactoring
...
- Move code block-specific parts of code_gc.c to code_heap.c
- code_gc.c is now a generic malloc-style heap
- New code_block.c to split up large code_heap.c
- Clean up relocation code and remove some duplication
- Fix problems with code heap not being updated properly with uninterned words (bug re
ported by doublec)
- Remove boolean parameter from modify-code-heap primitive
- Less unnecessary fixup speeds up bootstrap slightly
2009-01-24 20:13:17 -06:00
Slava Pestov
670d0106d1
Clean up some duplication
2009-01-24 17:42:28 -06:00
Slava Pestov
32bb531621
Move literal tables out of code heap, instead each code block holds a reference to the literal table
2009-01-24 17:01:01 -06:00
Slava Pestov
ab689c098b
Clean up direct literal code and make a first attempt at PowerPC support
2008-11-24 08:16:14 -06:00
Slava Pestov
2aaf860f47
Experimental optimizations
2008-11-24 06:40:51 -06:00
Slava Pestov
cfa82cb474
New calling convention for VM primitives:
...
instead of the Factor side passing the stack pointer as the first parameter, and having the VM save it to stack_chain->top, we instead have the Factor side save it. Eliminates a lot of crud in the VM
2008-11-13 03:20:34 -06:00
Slava Pestov
16b85df5db
Fixes and a small optiimization
2008-07-12 22:27:28 -05:00
Slava Pestov
727cfcba43
Move relocation info out of the code heap and into the data heap
2008-05-30 01:31:05 -05:00
Slava Pestov
c6bc074472
Simplify code heap layout
2008-01-16 15:45:04 -05:00
Slava Pestov
952c559b52
Faster compilation of dispatch primitive
2008-01-13 17:07:59 -05:00
Slava Pestov
028e0075d8
PowerPC support work in progress
2008-01-09 01:33:40 -05:00
Slava Pestov
928c68b506
JIT improvements; simpler 'current XT' relocation logic
2008-01-07 17:14:09 -04:00
Slava Pestov
b7327b6228
Redo the profiler
2008-01-02 20:36:36 -04:00
Slava Pestov
f91ec96425
Fix code heap compaction and clean up VM a bit
2007-12-26 17:14:33 -05:00
Slava Pestov
c9646d20c5
Working on smarter recompilation
2007-12-16 15:17:28 -05:00
Slava Pestov
2e78ce3d4a
Profiler fixes
2007-10-29 01:12:27 -04:00
Slava Pestov
ef22d57ef6
Improved profiler doesn't require all words to be recompiled to enable/disable
2007-10-28 04:33:36 -04:00
Slava Pestov
d3ae70c53d
VM cleanup
2007-10-02 17:53:05 -04:00