Commit Graph

22 Commits (e559a101e8d0ac25039d0530e58c40425c138559)

Author SHA1 Message Date
Slava Pestov 6dfce7d4e7 load-locals is a primitive now, change semantics of get-locals to bum out 2 instructions from the sub-primitive 2008-11-27 22:30:29 -06:00
Slava Pestov 7788b3e0db Merge branch 'master' into microseconds 2008-11-23 03:06:32 -06:00
Slava Pestov 1b091b5a26 Reuse F_CONTEXT instances used for FFI callbacks: 60x speed improvement on benchmark.fib6 2008-11-21 23:13:14 -06:00
Slava Pestov 8819f23312 Replace millis primitive with micros primitive
Add millis as a library word
sleep now takes either a duration or a microsecond count; code using durations doens't need to be updated, code using millisecond counts updated to use durations for the most part
2008-11-19 01:50:05 -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 a876005c98 Clean up non optimizing compiler, rewrite more primitives in assembly 2008-07-11 17:25:46 -05:00
Doug Coleman 409d984c3c move os_env from run to os-unix.c/os-windows.c 2008-04-09 16:57:21 -05:00
Slava Pestov a27fa29098 Remove type, class-hash primitives 2008-04-02 21:37:26 -05:00
Slava Pestov 7cd21081af Don't JIT inside heap scan loop, too fragile 2008-04-02 18:50:35 -05:00
Slava Pestov e1ad21a439 Working on shapes 2008-03-26 03:57:48 -05:00
Slava Pestov b7327b6228 Redo the profiler 2008-01-02 20:36:36 -04:00
Slava Pestov 1b9e04fdc5 Deferred words are now compound words 2007-12-26 17:28:34 -05:00
Slava Pestov 4bb2a43a10 Early binding JIT work in progress 2007-12-26 02:33:49 -05:00
Slava Pestov c09af2f2c6 Improved JIT compiler design; better REGISTER_ROOT/UNREGISTER_ROOT stuff 2007-12-26 01:45:16 -05:00
Slava Pestov 423c22e4ef Symbols are compound defs now; SYMBOL: foo == : foo \ foo ; 2007-12-25 22:55:17 -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 fb2cd92262 datastack capture after underflow should be an ordinary error not a critical error 2007-10-03 17:11:52 -04:00
Slava Pestov d3ae70c53d VM cleanup 2007-10-02 17:53:05 -04:00
U-C4\Administrator 9a0ac0e975 Attempt to merge in changes
F_FASTCALL
2007-09-27 15:10:37 -05:00
Slava Pestov f400729792 The JIT now compiles quotations when first invoked, not when constructed 2007-09-26 00:26:19 -04:00
Slava 6dc28869ce More build system work 2007-09-22 00:44:27 -04:00
Slava Pestov a96457cecc Initial import 2007-09-20 18:09:08 -04:00