Commit Graph

489 Commits (8e1a82b9d9faa09a6675f982fa498bc21bd551c5)

Author SHA1 Message Date
Slava Pestov 58d0e17936 Fix bool type; its actually 1 byte not 4 in structs. Bug reported by jedahu 2009-05-05 18:37:40 -05:00
Slava Pestov be207afe9a Fix VM compile error 2009-05-05 16:19:13 -05:00
Slava Pestov 8d5d1b8bb5 Fix VM code to export the right symbols on Windows 2009-05-05 15:55:41 -05:00
Slava Pestov 3295c54bff Remove debug messages from VM 2009-05-05 14:27:22 -05:00
Slava Pestov 56597b65f4 VM now compiles with GCC 3.4 on Windows 2009-05-05 14:17:02 -05:00
unknown cc9ac345fa Merge branch 'master' of git://factorcode.org/git/factor 2009-05-05 13:03:43 -05:00
unknown 6e26c7b554 Fixing compile errors on Windows 2009-05-05 13:03:24 -05:00
Slava Pestov 53db9d737a Change (void) to () 2009-05-05 11:33:35 -05:00
Slava Pestov 786b9096e2 Store forwarding table off to the side instead of in the code block; saves one cell per code block 2009-05-05 11:07:20 -05:00
Slava Pestov 12de56c41e Fix botched replace all in VM source, clean up image saving code, and fix save-image-and-exit to actually call (save-image-and-exit) instead of (save-image) 2009-05-05 10:29:22 -05:00
Slava Pestov 029d93a838 Make walker work better with call( and breakpoints which are nested inside combinators 2009-05-05 09:12:32 -05:00
Slava Pestov 0682c3da39 Some VM fixes 2009-05-04 15:11:31 -05:00
sheeple dbc245729c use eg++ on openbsd 2009-05-04 11:48:46 -05:00
Slava Pestov fb5b48c71a Fix some test failures 2009-05-04 09:44:26 -05:00
Slava Pestov fb9086d191 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-04 08:31:56 -05:00
Slava Pestov f812f70473 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-04 09:08:46 -04:00
Slava Pestov 7a80307b52 Fix problem caused by different behavior of GCC 4.0 -vs- 4.3 2009-05-04 09:08:33 -04:00
Samuel Tardieu f3a9234422 Make the primitives array const 2009-05-04 14:45:15 +02:00
Samuel Tardieu 1b0db9623b Do not lower primitives to "void*" to get better compiler checking 2009-05-04 14:32:09 +02:00
Slava Pestov a9782a2e64 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-04 07:19:40 -05:00
Slava Pestov 708c8b50ff Config.freebsd fix 2009-05-04 07:19:32 -05:00
Slava Pestov af5a7b537e Attempt to fix gcc 4.5.0 compile error 2009-05-04 07:11:00 -05:00
Slava Pestov 2bfde0250e Fixing some build issues on Linux with GCC 4.3 2009-05-04 08:00:06 -04:00
Slava Pestov 2772473d1c Merge branch 'master' of git://factorcode.org/git/factor 2009-05-04 06:43:36 -05:00
Slava Pestov 28cb6ea5c3 NetBSD build fix 2009-05-04 06:43:20 -05:00
Slava Pestov abf7912ae7 Cleanups 2009-05-04 05:07:14 -05:00
Slava Pestov 8872c40b1e The great type renaming 2009-05-04 04:50:24 -05:00
Slava Pestov edecac508e Use C++ namespaces 2009-05-04 01:46:13 -05:00
Slava Pestov 8e17e0a01e VM: use better abstractions for tagged pointers, eliminate get()/set() stuff, clean up array, string, and byte-array element access 2009-05-04 01:00:30 -05:00
Slava Pestov ec28b1ef85 Various VM cleanups, new approach for bignum GC root registration 2009-05-03 05:48:03 -05:00
Slava Pestov e3592ca8f6 Clean up untag_* and tag_* inline functions in favor of more idiomatic C++ 2009-05-02 20:47:29 -05:00
Slava Pestov b923d548cf Move vmpp to vm 2009-05-02 20:37:18 -05:00
Slava Pestov 982d409a8b Fix VM compilation on Windows 2009-05-01 02:01:43 -05:00
slava b8b7d3861b Fix some compiler warnings 2009-04-30 23:50:53 -04:00
Slava Pestov d93514d47d Merge branch 'master' of git://factorcode.org/git/factor 2009-04-30 21:13:36 -05:00
Slava Pestov b20ed595c4 Remove obsolete comment 2009-04-30 19:47:08 -05:00
Slava Pestov 742d574162 Non-optimizing compiler doesn't need to optimize 'dispatch' primitive anymore since its rarely used 2009-04-30 19:42:08 -05:00
Slava Pestov 7be231f6f8 Clean up code duplication in quotations.c 2009-04-30 19:07:13 -05:00
Slava Pestov f9ec0a07c5 Fix PICs for x86-64 2009-04-30 18:00:49 -05:00
Doug Coleman 674bb9a4d5 remove error_message from windows vm 2009-04-30 09:36:01 -05:00
Slava Pestov d6444e742c Fix comment 2009-04-30 07:06:23 -05:00
Slava Pestov 5bc63fc237 At the end of a compilation unit, all PICs become dead so add them to the free list immediately instead of having them waste space until the next GC.
Similarly, when a PIC transition occurs, add the old PIC to the free list immediately. 
Remove an unused function update_code_heap_roots()
2009-04-30 05:59:44 -05:00
Slava Pestov 5fb5c19d61 Machine code is now stored in a byte array instead of an array for add_code_block() 2009-04-30 04:34:35 -05:00
Slava Pestov 515c619202 Non-optimizing compiler now open-codes megamorphic dispatch fast path 2009-04-30 03:37:07 -05:00
Slava Pestov fc4894fbdf Replace ratio and complex built-in types with tuples defined in the library. This frees up two lo-tags, so move array and quotation over to these tags and update compiler for new tags 2009-04-30 00:27:35 -05:00
Slava Pestov 62db617927 Get rid of two instructions from tag pics and one instruction from all others 2009-04-29 22:24:28 -05:00
Slava Pestov bd186b6320 Eliminate 3 instructions from PIC fast path 2009-04-29 21:32:05 -05:00
Slava Pestov ae22b345ec PIC -> megamorphic transition now has correct semantics within compilation units 2009-04-29 19:50:50 -05:00
Slava Pestov 02bd4f3f00 PICs now pass the method table around instead of extracting it from the generic word body. This gels better with how compilation units are supposed to work 2009-04-29 19:39:43 -05:00
Slava Pestov a26947ba2e Remove obsolete -mtune=pentium4 compile flag 2009-04-28 23:05:42 -05:00