Commit graph

3354 commits

Author SHA1 Message Date
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
Brendan Hansknecht
9032c8c43b Expand register names for more readability 2021-01-21 21:14:21 -08:00
Brendan Hansknecht
5cabdd83b0 Merge remote-tracking branch 'origin/trunk' into dev-backend 2021-01-21 21:01:10 -08: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
77de8e9e62 Merge remote-tracking branch 'origin/trunk' into rbtree-benchmarks 2021-01-21 22:43:37 +01:00
Folkert
7731ab38d1 update tests 2021-01-21 22:41:47 +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
4e6aac760a cleanup benchmarks platform 2021-01-21 20:23:47 +01:00
Folkert
2e52ed68a4 increment struct layouts ... 2021-01-21 20:21:45 +01:00
Folkert
18d04614d4 clean up zig str concat 2021-01-21 20:20:20 +01:00
Folkert
5ec354229a refactor recursive tag refcounting 2021-01-20 22:19:12 +01:00
Folkert
b8c0c85395 tell me what function has no implementation 2021-01-20 16:29:19 +01:00
Folkert
f3e327cfee fix todo 2021-01-20 16:28:46 +01:00
Folkert
24a7069727 fix assignment bug in IR 2021-01-20 15:27:53 +01:00
Brendan Hansknecht
3c4a54c6d2 Merge remote-tracking branch 'origin/trunk' into dev-backend 2021-01-19 15:25:29 -08:00
Brendan Hansknecht
244113ede2 Add floating point addition 2021-01-19 15:25:21 -08:00
Folkert
e8e087f869 move panic down so we see the error messages 2021-01-19 20:21:16 +01:00
Folkert
8d0113428d add whitespace 2021-01-19 20:10:48 +01:00
Folkert
4be3e1c762 narrow down problem in ignored tests 2021-01-19 19:22:11 +01:00
Sébastien Besnier
3c5549072c add tests for SETE instruction 2021-01-19 18:32:45 +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
Sébastien Besnier
1ee2c7a40f add equality testing in gen_dev 2021-01-19 15:08:03 +01:00
Richard Feldman
55d2586316
Merge pull request #916 from rtfeldman/switch-fix
Switch fix
2021-01-19 00:52:34 -05:00
Richard Feldman
98865ce1fe
Merge pull request #910 from rtfeldman/nullable-tags
Nullable tags
2021-01-19 00:49:18 -05: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
dd2dcc63d1 Pass in builtin look up function parameter 2021-01-18 21:25:10 -05:00
Chadtech
fdff20b2c1 Dict.size added to builtins.rs 2021-01-18 21:03:15 -05:00
Folkert
83fd1de89b fix bug: incorrect var definition before switch 2021-01-18 23:52:58 +01:00
Folkert
0ac5a16e86 fix bug: incorrect block_of_memory layout 2021-01-18 23:41:42 +01:00
Folkert
b8b79f86d9 fix mono tests 2021-01-18 22:26:11 +01:00
Folkert
6b90eaaf37 pass down correct layout/symbol to switch branches 2021-01-18 22:12:26 +01:00
Folkert
e11b478892 fix tests 2021-01-18 22:10:21 +01:00
Folkert
d951cffcf4 typecheck expr evaluator 2021-01-18 22:08:58 +01:00
Folkert
cb0c5ef751 make bitcast more descriptive 2021-01-18 22:06:14 +01:00
Chadtech
bade5dd48d Dictionary rust modules 2021-01-18 15:26:21 -05:00