Commit Graph

12 Commits (96d84731e3b36f88f9f66e4b3d976813cfa9d8b0)

Author SHA1 Message Date
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 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 af41a0efe7 Re-implement callstack>array 2007-12-30 16:54:01 -05: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 2b13c74dfa Third time lucky 2007-10-06 23:26:43 -04:00
Slava Pestov 7b12b5e649 VM fixes 2007-10-06 23:12:52 -04:00
Slava Pestov 038cbed6e6 Inhibit assignment re-ordering 2007-10-06 22:52:55 -04:00
Slava Pestov 98c9e69e1e Use same call frame struct on x86 and ppc 2007-10-05 17:35:51 -04:00
Slava Pestov 6b0b7bebf9 Simpler callstack layout 2007-10-05 17:30:10 -04:00
Slava Pestov 6fb134f1aa Update non-optimizing compiler for new PowerPC calling convention 2007-10-05 04:17:38 -04:00
Slava Pestov fab1453bfc Re-implemented single stepper for new evaluation model 2007-10-03 16:56:49 -04:00
Slava Pestov d3ae70c53d VM cleanup 2007-10-02 17:53:05 -04:00