Commit Graph

1213 Commits

Author SHA1 Message Date
Richard Feldman
12ed20b5cd Use fast calling convention internally 2020-08-11 09:02:26 -04:00
Folkert
84a8b69437 generate IR that uses uniqueness 2020-08-11 14:47:14 +02:00
Richard Feldman
8803cb9523 Remove an unnecessary newline diff 2020-08-10 23:22:47 -04:00
Richard Feldman
1e9f8e8764 Update test_mono expectations 2020-08-10 23:14:56 -04:00
Richard Feldman
2eab24015c Diff lines on failed test_mono tests 2020-08-10 23:01:37 -04:00
Richard Feldman
b442b9c27a Don't change env.home in specialize_all 2020-08-10 23:01:17 -04:00
Richard Feldman
49a6bd86b4 Procs now store pending specializations by default 2020-08-10 23:00:54 -04:00
Richard Feldman
497a5af72d Avoid a clone 2020-08-10 22:59:14 -04:00
Richard Feldman
8d0c1ddc68 Drop obsolete mono::expr module 2020-08-10 21:25:47 -04:00
Richard Feldman
854f7bb35b Improve an error message 2020-08-10 21:25:47 -04:00
Richard Feldman
c97317789e Improve a comment 2020-08-10 21:25:47 -04:00
Richard Feldman
f4545e8bf7 Expose module thunks 2020-08-10 21:25:47 -04:00
Richard Feldman
35e132e6d7 Fix quicksort benchmark 2020-08-10 21:25:47 -04:00
Richard Feldman
1c828f7811 Have Procs store pending_specializations by default 2020-08-10 21:25:47 -04:00
Richard Feldman
e054131cdd Refactor out a .clone() 2020-08-10 21:25:47 -04:00
Richard Feldman
ce2c2a1f5d Expose all functions in .roc file to C 2020-08-10 21:25:47 -04:00
Richard Feldman
3cc36e5198
Drop unused field 2020-08-10 19:27:29 -04:00
Richard Feldman
582ed7eda6
Drop commented-out code 2020-08-10 19:27:20 -04:00
Richard Feldman
1e7b3de2c2
Drop obsolete comment 2020-08-10 19:27:02 -04:00
Folkert
25e96fcade fix stack overflow in inc/dec 2020-08-10 22:31:20 +02:00
Folkert
ac6d72d077 fix some test failures 2020-08-10 21:41:47 +02:00
Folkert
79ea62b9d4 make uniqueness change codegen 2020-08-10 21:13:57 +02:00
Folkert
9e11526c1d special-case List.len" 2020-08-10 21:06:28 +02:00
Folkert
b4c5c2f793 add variable to list
stores the list type, so we can know whether it is unique
2020-08-10 21:05:57 +02:00
Folkert
4de573b54b use quicksort without closure for loading
the old version worked, but won't run yet because it uses a closure
2020-08-10 20:54:05 +02:00
Folkert
8f7d842d41 apply optimization passes 2020-08-10 13:34:28 +02:00
Folkert
9e75252ddb centralize decision on what is refcounted 2020-08-10 12:59:10 +02:00
Richard Feldman
9d18112147 pattern_symbols no longer accepts a slice 2020-08-10 00:15:08 -04:00
Richard Feldman
695408e74e
Merge branch 'trunk' into refcount 2020-08-09 22:32:26 -04:00
Richard Feldman
5f73a0b7ca Add builtin defs in load::file 2020-08-09 21:27:39 -04:00
Folkert
4caef70668 Merge remote-tracking branch 'origin/trunk' into refcount 2020-08-09 13:49:13 +02:00
Folkert
95a3d7fed4 disable mono tests with --release 2020-08-09 11:55:24 +02:00
Folkert
d927f1e83c fix merge conflicts 2020-08-09 11:47:44 +02:00
Richard Feldman
0f8906b6d3 Make pattern_symbols be a slice 2020-08-08 21:54:16 -04:00
Richard Feldman
d4705f2f98
Merge branch 'trunk' into refcount 2020-08-08 19:54:10 -04:00
Richard Feldman
3fe2a4e3fd Drop unused jump_counter 2020-08-08 19:53:21 -04:00
Folkert
ce3fefb5f0 fix trailing whitespace 2020-08-09 01:05:29 +02:00
Folkert
f8143e3e53 perform copy propagation 2020-08-09 00:48:53 +02:00
Folkert
078c6df677 Merge remote-tracking branch 'origin/trunk' into refcount 2020-08-08 22:34:14 +02:00
Folkert
5082d40ff5 clean up test imports 2020-08-08 21:56:43 +02:00
Folkert
a015dad566 hook up list inc/dec 2020-08-08 21:42:14 +02:00
Folkert
a248a92d9f generate inc/dec in procs 2020-08-08 18:54:28 +02:00
Richard Feldman
6b3b264cbb
Merge branch 'trunk' into list-join 2020-08-08 08:10:40 -04:00
Folkert
e3356dea7b clippy warnings 2020-08-08 11:51:59 +02:00
Chad Stearns
4e906a5156 No phi node at all, just an conditional branch 2020-08-08 01:26:25 -04:00
Chad Stearns
0f717ac45a Merge branch 'list-join' of github.com:rtfeldman/roc into list-join 2020-08-08 01:07:52 -04:00
Chad Stearns
12c0cfca21 Comment back in the optimized code gen evaluation 2020-08-08 01:07:08 -04:00
Chadtech
b219125892
Merge branch 'trunk' into list-join 2020-08-08 00:50:13 -04:00
Chad Stearns
e47c847118 Entire inner loop happens in phi2 node, rather than phi2 node happening inside loop 2020-08-08 00:44:15 -04:00
Chad Stearns
0e15f75f3b List.join works in all cases 2020-08-08 00:33:05 -04:00