Commit Graph

19006 Commits (1e137b6d6ae3b4fc4d1bc195086fdf1d43590d3a)

Author SHA1 Message Date
Slava Pestov 1e137b6d6a compiler.tree: remove some code duplication concerning #alien nodes 2010-01-07 16:06:07 +13:00
Slava Pestov caca156c31 vm: Remove some dead code 2010-01-07 13:54:22 +13:00
Slava Pestov ded9a1eca9 vm: remove unnecessary call to compile_all_words() from primitive_become() 2010-01-07 13:49:29 +13:00
Slava Pestov fe544d7db8 calendar: make code like '0.1 seconds sleep' work (bug discovered by Joe Groff) 2010-01-07 00:02:16 +13:00
Slava Pestov 97fc47814f compiler.units: fix faulty unit test 2010-01-06 23:52:14 +13:00
Slava Pestov 72311506d2 vm: ensure that non-optimized calls to generic words which have not yet been compiled can still work 2010-01-06 23:49:14 +13:00
Slava Pestov 927953dad0 cpu.x86: don't have to pass VM pointer to quotations anymore 2010-01-06 23:42:00 +13:00
Slava Pestov a9f90026df Update x86-32 for assembly entry point changes 2010-01-06 17:55:20 +13:00
Slava Pestov 74c5fe0419 Merge branch 'master' of git://factorcode.org/git/factor 2010-01-06 17:54:22 +13:00
Slava Pestov d2baa6dde5 vm: move c_to_factor, lazy_jit_compile_impl, throw_impl, set_callstack assembly routines into non-optimizing compiler for x86-64 2010-01-06 15:47:36 +13:00
Joe Groff c540aaed80 fix joystick-demo for timer changes 2010-01-05 10:23:11 -08:00
Slava Pestov 8a6c487a48 Merge branch 'master' of git://factorcode.org/git/factor 2010-01-03 23:21:31 +13:00
Slava Pestov 9399a68786 Change how non-volatile register preservation is done in alien callbacks, with the aim of fixing callbacks on PowerPC, and to eventually eliminate assembly code from VM
- Simplify calculation of offset in relocation table
- Open-code %alien-callback
- Remove magic_frame hack from context objects
- Move magical return instruction from optimizing compiler backend into callback entry stub
2010-01-03 01:11:51 +13:00
Doug Coleman c679593ee3 fix png loading 2009-12-30 14:58:50 -06:00
Doug Coleman 1329e0dcb3 remove warning 2009-12-28 10:02:36 -06:00
Doug Coleman 9c192fe170 Merge branch 'master' of git://factorcode.org/git/factor 2009-12-28 09:58:19 -06:00
Doug Coleman 667e871291 avoid integer division in nano_count on windows 2009-12-28 09:56:10 -06:00
Slava Pestov d0c1c6b766 PowerPC: fix set-callstack primitive and start updating optimizing compiler backend for recent changes 2009-12-28 08:08:15 -06:00
Slava Pestov 98294c3ce2 cpu.ppc: fix non-optimizing compiler backend 2009-12-29 02:42:34 +13:00
Slava Pestov 042a074ac6 continuations: remove outdated comment 2009-12-28 12:42:25 +13:00
Slava Pestov fc2f05032b kernel: fix set-callstack docs 2009-12-28 12:41:45 +13:00
Slava Pestov faa9d942a2 Updating non-optimizing PowerPC backend for register variable removal (untested) 2009-12-28 12:40:45 +13:00
Slava Pestov dee6910cfe Merge branch 'eliminating_register_variables' 2009-12-27 01:29:53 +13:00
Alec Berryman 43a7facd09 json reader: correctly handle empty objects in objects
Attempting to parse { "foo" : {} } previously resulted in an error.
(close-hash) expected to consolidate an object into the values of the
containing object (in the first line of code).  While there is none in
the case of the empty hash, the structure of the accumulator looked like
it contained an unconsolidated object, so it folded the values into the
keys and got very confused.
2009-12-27 01:29:12 +13:00
Slava Pestov d5489b3ecd Updating x86-64 port for global register variable removal 2009-12-27 01:17:42 +13:00
Slava Pestov c89958ddd5 kernel: fix stack effect declarations of call-clear and set-callstack, and add a unit test for call-clear 2009-12-26 15:38:01 +13:00
Slava Pestov aaf98a307a primitives.factor: move call-clear into kernel.private since its unsafe 2009-12-26 15:27:39 +13:00
Slava Pestov 8b913f5fc6 Fix bug in c_to_factor 2009-12-26 15:24:46 +13:00
Slava Pestov 2d8b44e5b7 vm: code cleanup 2009-12-26 15:24:21 +13:00
Doug Coleman 92393c7df7 Add 0xe06d7363 to debugger.windows. Remove case 0xe06d7363 from SEH. 2009-12-23 14:04:52 -06:00
Slava Pestov 1453154376 vm: remove VM_ASM_API 2009-12-24 01:37:24 +13:00
Doug Coleman d7f6c17a71 remove debug output 2009-12-22 14:39:30 -06:00
Doug Coleman 984a458394 try a different approach to fix the windows monotonic counter 2009-12-22 14:36:33 -06:00
Doug Coleman c92eae83b8 Ignore yet another undocumented exception. Tricks of the trade, I guess. 2009-12-22 13:33:39 -06:00
Slava Pestov 583f999b1e Merge branch 'master' into eliminating_register_variables 2009-12-22 15:50:15 +13:00
Slava Pestov c6c351ffb0 vm: if an aging GC is triggered while uninitialized code blocks are in the code heap, the code heap remembered set becomes out of date, resulting in code blocks pointing at invalid data 2009-12-22 15:49:21 +13:00
Slava Pestov 8f449f1a82 Get optimizing compiler working without global register variables in VM 2009-12-22 15:42:49 +13:00
Slava Pestov a942e2c34d vm: eliminating register variables work in progress. Works on x86-32 with non-optimizing compiler 2009-12-19 10:59:56 +13:00
otoburb ed7e909924 Updated post-data slot names in http-docs.factor 2009-12-15 18:12:48 -05:00
Slava Pestov 6d9c17eea3 Fix PowerPC compiler backend for recent changes 2009-12-15 09:51:20 -05:00
Slava Pestov 9a149a47ab Merge branch 'master' of git://factorcode.org/git/factor 2009-12-15 07:21:17 -05:00
Slava Pestov 742126cadc threads, io.streams.c: cleanups 2009-12-15 07:20:41 -05:00
Slava Pestov 31a260b74c vm: big overhaul of non-optimizing compiler
- change some primitives into sub-primitives: fixnum+ fixnum- fixnum* inline-cache-miss inline-cache-miss-tail
- rename some relocation types for clarity
- some other minor re-organizations and cleanups
2009-12-15 07:20:09 -05:00
Slava Pestov 08a81abb7f Merge branch 'master' of git://factorcode.org/git/factor 2009-12-14 01:09:40 -06:00
Slava Pestov 0244c90414 vm: fep out if monotonic counter decreases 2009-12-14 01:09:04 -06:00
Doug Coleman c1fd4a2fcf Merge branch 'master' of git://factorcode.org/git/factor 2009-12-13 21:39:14 -06:00
Doug Coleman 1b5a9b42c8 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	vm/os-windows-nt.cpp
2009-12-13 20:45:40 -06:00
Doug Coleman 6ba4e7c8c4 workaround for QueryPerformanceCounter: if the high part of the count doesn't increment when the low part overflows, keep track of this and add the correction on future calls to nano_count 2009-12-13 20:42:51 -06:00
Doug Coleman f749d14e86 fix a couple of warnings on win64 2009-12-13 20:00:02 -06:00
Slava Pestov ffe5fb62ca vm/os-windows-nt.cpp: fix formatting 2009-12-13 16:52:59 -06:00