Commit graph

1089 commits

Author SHA1 Message Date
Chadtech
69fcbf70ea
Merge branch 'trunk' into dict 2021-01-31 15:46:22 -05:00
Chadtech
7a64ffede5 Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-01-29 21:17:32 -05:00
Folkert
55eff1dba1 fix oversights 2021-01-28 15:32:22 +01:00
Folkert
936bf459eb initial version of rc optimization 2021-01-28 13:14:54 +01:00
Folkert
21713bbb0a clippy 2021-01-27 00:13:20 +01:00
Folkert
e87d8f6449 optimize branching in debug builds 2021-01-26 23:45:41 +01:00
Folkert
aaa103005a format 2021-01-26 23:44:29 +01:00
Folkert
ec042b5949 remove unneeded argument 2021-01-26 23:12:04 +01:00
Folkert
53e56e275d don't store function arguments in alloca 2021-01-26 22:01:04 +01:00
Chadtech
d787d3ef7b
Merge branch 'trunk' into dict 2021-01-25 20:25:37 -05:00
Folkert
5a62359a5f remove T from join 2021-01-25 17:23:45 +01:00
Folkert
517bde4f4a remove T from concat 2021-01-25 17:22:22 +01:00
Folkert
7e89307292 implement Dict.empty 2021-01-25 16:53:11 +01:00
Folkert
0166a4d915 fix test hanging forever 2021-01-25 13:20:40 +01:00
Richard Feldman
4bd84f4b6f
Merge branch 'trunk' into str-join 2021-01-25 00:54:28 -05:00
Richard Feldman
54f8efaa68
Merge branch 'trunk' into list-empty-record 2021-01-25 00:50:58 -05:00
Folkert
48c8343d53 add Str.joinWith 2021-01-25 00:30:48 +01:00
Chadtech
ec7d8e0dc9 Bringing in Trunk and resolving conflict 2021-01-23 21:23:31 -05:00
Folkert
54fb482b79 Merge remote-tracking branch 'origin/trunk' into list-empty-record 2021-01-23 15:24:05 +01:00
Folkert
513d7cd78f groundwork for RoseTree 2021-01-23 01:39:04 +01:00
Folkert
bb12b39fc7 cleanup 2021-01-22 16:18:19 +01:00
Folkert
d8fd2d670d don't use alloca in inc/dec 2021-01-22 15:30:43 +01:00
Folkert
6344771a0c optimize refcount inc/dec (tail recursion) 2021-01-22 15:24:49 +01:00
Folkert
191dee73df clippy 2021-01-22 13:54:35 +01:00
Folkert
cb8de4ac04 move check out of main loop 2021-01-22 13:52:19 +01:00
Folkert
690f3ee5c9 simplify recursive case 2021-01-22 13:18:27 +01:00
Folkert
155c9fd9b0 pass the refcount value at runtime 2021-01-22 13:13:12 +01:00
Chadtech
9d776a2de5 rename Dict.size to Dict.len 2021-01-21 23:16:25 -05:00
Chadtech
609bb21fad Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-01-21 22:46:47 -05:00
Folkert
9c90f27bfd use correct Symbol 2021-01-22 01:34:37 +01:00
Folkert
42f63ceac1 update other places 2021-01-22 01:17:57 +01:00
Folkert
7c22201344 unify inc/dec list 2021-01-22 00:51:28 +01:00
Folkert
af5c75ea39 unify inc/dec str 2021-01-22 00:45:00 +01:00
Folkert
93f0e732a4 unify inc/dec builtin 2021-01-22 00:35:59 +01:00
Folkert
2b887f64b4 unify inc/dec layout 2021-01-22 00:30:02 +01:00
Folkert
946ce9c292 implement incrementing by a variable number 2021-01-22 00:21:23 +01:00
Folkert
99058e7203 add inc field to mode 2021-01-22 00:18:35 +01:00
Folkert
15cbadf652 add inc field to Inc instruction 2021-01-22 00:16:20 +01:00
Folkert
5a2b2cbcac add multiple increment test 2021-01-22 00:15:01 +01:00
Folkert
df8ab829a6 fix one element struct unpacking
I think this broke when we decided that we want to not drop empty fields from layouts?
2021-01-21 21:40:04 +01:00
Folkert
ef89ff15a1 make match exhaustive 2021-01-21 20:37:05 +01:00
Folkert
2e52ed68a4 increment struct layouts ... 2021-01-21 20:21:45 +01:00
Folkert
5ec354229a refactor recursive tag refcounting 2021-01-20 22:19:12 +01:00
Folkert
e8e087f869 move panic down so we see the error messages 2021-01-19 20:21:16 +01:00
Folkert
4be3e1c762 narrow down problem in ignored tests 2021-01-19 19:22:11 +01:00
Folkert
14a45ce012 remove test that now passes 2021-01-19 16:46:32 +01:00
Folkert
b167098275 optimize bitcast generation 2021-01-19 16:46:02 +01:00
Folkert
b84670328a enable rbtree_insert test 2021-01-19 15:09:21 +01:00
Chadtech
a46a7ef06a builtin_defs_map passed in explicitly in many places that want to monomorphize, so that we can use a new test_builtin_defs in tests. Hash test works 2021-01-18 22:38:51 -05:00
Chadtech
fdff20b2c1 Dict.size added to builtins.rs 2021-01-18 21:03:15 -05:00