Commit Graph

26926 Commits (6a7ef7662fbc9ab7f11b1c95af81603924f2808a)

Author SHA1 Message Date
Björn Lindqvist bfc0ef815b compiler.cfg.dominance: fix for #1227, the dom children needs to be sorted to ensure that the same instruction sequence is generated every time 2014-12-11 14:30:47 +01:00
Björn Lindqvist 628c87c5b1 compiler.cfg.utilities: adding connect-bbs and make-edges 2014-12-11 14:30:47 +01:00
Björn Lindqvist 00e2d9f116 compiler.cfg.dominance: some more docs 2014-12-11 14:30:47 +01:00
Björn Lindqvist c85175c10c compiler.cfg.*: new utility word apply-passes to improve the looks of long cleave's where each quotation only contains one word 2014-12-11 14:30:47 +01:00
Björn Lindqvist e371327ec4 compiler.cfg.ssa.construction.tests: fix tc broken by previous commit 2014-12-11 14:30:47 +01:00
Björn Lindqvist befbe0bb59 compiler.cfg.dominance: changed stack effect compute-dominance ( cfg -- cfg' ) to ( cfg -- ) 2014-12-11 14:30:47 +01:00
Björn Lindqvist e5866dfa80 compiler.cfg.*: changed stack effect of needs-predecessors from ( cfg -- cfg') to ( cfg -- ) 2014-12-11 14:30:47 +01:00
Björn Lindqvist 76cb665a8d compiler.cfg.dominance: change needs-dominance effect from ( cfg -- cfg') to ( cfg -- ) 2014-12-11 14:30:46 +01:00
Björn Lindqvist 054982f24a compiler.cfg.*: docs for compiler.cfg.dominance and compiler.cfg.ssa.construction 2014-12-11 14:30:46 +01:00
Björn Lindqvist 53b7f82368 Docs: more compiler docs 2014-12-11 14:30:46 +01:00
Björn Lindqvist 5fe9ce4235 compiler.cfg: fix stack effect of cfg-changed and predecessors changed to ( cfg -- ) 2014-12-11 14:30:46 +01:00
Björn Lindqvist a0d4e9b417 compiler.cfg.stacks.uninitialized: this compiler pass isn't used anymore -- let's get rid of it 2014-12-11 14:30:46 +01:00
Björn Lindqvist 8744d908b6 compiler.cfg.*: fix stack effect of compiler passes in optimize-cfg
since they all modify the cfg in place, it is better if their stack
effect is ( cfg -- ) instead of ( cfg -- cfg' )
2014-12-11 14:30:45 +01:00
John Benediktsson cf3c0d96a1 dice: adding some tests, simplify a bit. 2014-12-10 08:46:15 -08:00
Björn Lindqvist 5130954591 tools.gc-decode.tests: tests for the troubles found in #1227 2014-12-08 18:13:47 -08:00
Björn Lindqvist 971a157369 compiler.cfg.instructions: ##alien-assembly should be in the alien-call-insn union but not gc-map-insn 2014-12-08 18:13:46 -08:00
Björn Lindqvist ba6accb983 cpu.x86.tests: more tests 2014-12-08 18:13:46 -08:00
Björn Lindqvist 52d3affeb8 compiler.cfg.*: the ##alien-assembly instruction does not use a gc-map 2014-12-08 18:13:46 -08:00
John Benediktsson 17d12ffaea rosetta-code.balanced-brackets: adding some tests. 2014-12-08 17:41:31 -08:00
John Benediktsson 94f66ec0be rosetta-code.balanced-brackets: cleanup and test. 2014-12-06 21:40:24 -08:00
John Benediktsson a7b782542d sequences.extras: using sift. 2014-12-06 21:20:24 -08:00
John Benediktsson 17de36ddfc sorting.extras: faster map-sort. 2014-12-05 10:50:32 -08:00
John Benediktsson e7bb1a43df sorting: faster sort-keys and sort-values for hashtables. 2014-12-05 10:50:22 -08:00
John Benediktsson 7023cff14b sorting: inline check-bounds. 2014-12-05 09:49:55 -08:00
John Benediktsson 1aa27963d2 math.primes.miller-rabin: actually, this is better. 2014-12-04 19:48:32 -08:00
John Benediktsson 95e45d865d math.functions: minor cleanup to (gcd). 2014-12-04 19:46:42 -08:00
John Benediktsson 9d4336d774 math.primes.miller-rabin: minor cleanup; 2014-12-04 19:46:30 -08:00
John Benediktsson 31b22494a1 extra: using empty? in some places. 2014-12-04 19:13:08 -08:00
John Benediktsson 34160212d1 math.primes.erato: fix reference to "arr". 2014-12-04 11:52:56 -08:00
John Benediktsson c7271658c7 debugger: simplify test case. 2014-12-04 11:52:52 -08:00
John Benediktsson d5b8f3d3b9 math.primes.erato: fix help-lint. 2014-12-04 11:48:12 -08:00
John Benediktsson 6bf1f1dd99 debugger: adding a test case that breaks the fix for #1187. 2014-12-04 11:46:28 -08:00
John Benediktsson b102f138b3 Revert "continuations.tests: test case for #1187"
This reverts commit 5dc7cce253.
2014-12-04 11:46:28 -08:00
John Benediktsson 70778b89ae Revert "VM: always clear the data and retainstack in general_error because they might contain uninitialized values (#1187)"
This reverts commit 378f208025.
2014-12-04 11:46:28 -08:00
Doug Coleman 875d2421df vm: We don't want ambiguity for which print triggered on a gc error. Differentiate the error messages. 2014-12-04 10:35:32 -08:00
Björn Lindqvist 5dc7cce253 continuations.tests: test case for #1187 2014-12-04 10:26:24 -08:00
Björn Lindqvist 378f208025 VM: always clear the data and retainstack in general_error because they might contain uninitialized values (#1187) 2014-12-04 10:26:23 -08:00
John Benediktsson 348bd85824 math.ranges: cleanup using. 2014-12-04 10:23:59 -08:00
Björn Lindqvist 1cec8a7814 VM: modifying the uninitialized_blocks map in place instead of creating a new one is more efficient 2014-12-04 10:23:34 -08:00
Björn Lindqvist 451fc12411 VM: redundant if, trace_cards() doesnt do anything for empty generations anyway 2014-12-04 10:23:33 -08:00
Björn Lindqvist 93134b949f VM: the aging_collector and nursery_collector classes aren't needed because they are just simple instatiations of copying_collector 2014-12-04 10:23:33 -08:00
Björn Lindqvist 423e983514 VM: refactoring to get rid of the megamorphic_call_stub and check_code_pointer() words 2014-12-04 10:23:33 -08:00
Björn Lindqvist 885b5c7043 VM: no need for a nursery_space class, it's just a bump_allocator 2014-12-04 10:23:33 -08:00
John Benediktsson ad71f79be3 math.primes: speedup sieve. 2014-12-04 10:11:32 -08:00
John Benediktsson 4837ceebb4 vm: fix OS X issue with using symlinks from outside $factor. 2014-12-03 19:19:52 -08:00
John Benediktsson 1e1646a691 combinators.extras: adding swap-when. 2014-12-03 12:03:04 -08:00
John Benediktsson 6fd908da40 use suffix! and append!. 2014-12-03 11:37:34 -08:00
John Benediktsson 49270c2ac6 threads: some cleanup. 2014-12-02 16:44:24 -08:00
John Benediktsson 00b1919725 basis: cleanup using. 2014-12-01 22:18:32 -08:00
John Benediktsson ad9d44aa2b compiler.cfg.linear-scan.allocation.state: simplify init-unhandled. 2014-12-01 22:18:15 -08:00