Commit graph

1233 commits

Author SHA1 Message Date
Richard Feldman
3f0b08a992 Have Stmt::new accept LayoutCache 2020-08-12 23:14:06 -04:00
Richard Feldman
8751e4bd00 Make pattern_vars be a slice 2020-08-12 23:08:43 -04:00
Richard Feldman
a4f4da7f5a Add Debug to LayoutCache 2020-08-12 23:05:51 -04:00
Richard Feldman
31811410ee cargo fmt 2020-08-12 23:03:09 -04:00
Richard Feldman
2173bc6f6f
Drop commented-out code 2020-08-12 22:48:36 -04:00
Richard Feldman
84789d3077
Drop commented-out code 2020-08-12 22:48:28 -04:00
Richard Feldman
fe0da7a8d7 Appease clippy 2020-08-12 22:33:10 -04:00
Folkert
c52f866d8a fix tests 2020-08-13 01:40:03 +02:00
Folkert
5ca843822f implement optional fields in let bindings and when 2020-08-13 01:39:59 +02:00
Folkert
3e12f1a309 Merge remote-tracking branch 'origin/tail-call-elimination' into gen-optional-field 2020-08-13 00:21:21 +02:00
Folkert
b05e126d78 add more tests 2020-08-13 00:19:01 +02:00
Folkert
20ddbeb528 implement optional fields in function pattern matches 2020-08-13 00:09:57 +02:00
Folkert
380e34d296 Merge remote-tracking branch 'origin/trunk' into tail-call-elimination 2020-08-12 15:46:50 +02:00
Folkert
8c86836101 add TCE 2020-08-12 14:03:55 +02:00
Folkert
bdd8751107 start work on tail recursion 2020-08-12 12:57:20 +02:00
Folkert
2963c44cc6 change tests after branching improvements 2020-08-12 01:36:38 +02:00
Chad Stearns
29c0bfa65d Use allocate_list in clone_nonempty_list 2020-08-11 19:01:18 -04:00
Folkert
7603225fca generate return earlier, causing more TCE 2020-08-11 22:30:34 +02:00
Folkert
84a8b69437 generate IR that uses uniqueness 2020-08-11 14:47:14 +02: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
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
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
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
9e75252ddb centralize decision on what is refcounted 2020-08-10 12:59:10 +02:00
Richard Feldman
695408e74e
Merge branch 'trunk' into refcount 2020-08-09 22:32:26 -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
Richard Feldman
0f8906b6d3 Make pattern_symbols be a slice 2020-08-08 21:54:16 -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
Folkert
e3356dea7b clippy warnings 2020-08-08 11:51:59 +02:00
Richard Feldman
c8e647ccfc Use is_zero_sized to remove lots of ptr_bytes 2020-08-07 20:08:06 -04:00
Folkert
55eff50e36 good progress on Lean-based inc/dec 2020-08-07 23:22:59 +02:00