Commit graph

349 commits

Author SHA1 Message Date
Folkert
5fc629e5b8 copy relevant parts of from_var 2021-08-18 12:49:17 +02:00
Richard Feldman
bb7726b0e0
Merge branch 'trunk' into store-bool-closure-as-unit 2021-08-14 16:47:42 -04:00
Folkert
2c1ab68ea7 represent byte/bool closure as unit 2021-08-14 18:56:05 +02:00
Folkert
441eb02ca3 represent bool closure as unit 2021-08-14 15:54:05 +02:00
Folkert
7d51a6bca3 comment is not a test... 2021-08-13 15:42:18 +02:00
Folkert
1b0d6110cc strip the layout cache so it does no extra work 2021-08-13 15:09:56 +02:00
Folkert
24ddc4b1e8 further optimizations 2021-08-13 13:25:36 +02:00
Folkert
c9040c012e make things work 2021-08-13 11:04:31 +02:00
Folkert
42f04fcc77 use variablesubsslice for Apply 2021-08-12 22:49:56 +02:00
Folkert
ecfb0e2685 also for recursive tags 2021-08-12 21:46:35 +02:00
Folkert
c058368a6d optimize tag union type -> layout conversion 2021-08-12 21:32:23 +02:00
Folkert
cf05afeacc use vec 2021-08-12 21:02:59 +02:00
Folkert
3bbf1a5506 use UnionTags for recursive tag unions 2021-08-12 20:50:33 +02:00
Folkert de Vries
255ddbe8c1
Merge branch 'trunk' into stack_size_with_alignment 2021-08-12 09:49:33 +02:00
Richard Feldman
c5289522e5 Try to help the branch predictor 2021-08-11 21:52:56 -04:00
Folkert
eb5439ee96 take alignment into account when calculating stack size 2021-08-11 22:37:00 +02:00
Folkert
6c0860b6bf milestone all but one gen tests passing 2021-08-11 21:50:11 +02:00
Folkert
83ad331bb1 remove chase_record_ext_var 2021-08-07 15:35:57 +02:00
Folkert
ad3d006a11 use a SubsIndex instead of Box 2021-08-07 13:50:53 +02:00
Folkert
c09acb255c also sort by stack size 2021-08-07 13:08:55 +02:00
Folkert
3ca2140b69 fix double sorting in record layout 2021-08-07 12:25:56 +02:00
Folkert
e0039b94c9 clippy 2021-08-07 01:12:42 +02:00
Folkert
69c224843e all the work 2021-08-07 00:51:53 +02:00
Folkert
efab1ef2ca implement 2021-08-04 00:33:05 +02:00
Folkert
ceb5cc66fa use IdentStr 2021-08-03 21:14:36 +02:00
Folkert
54198d7da1 one more shrinkage 2021-08-02 23:05:22 +02:00
Folkert
899cbeabd7 fix extra ampersands 2021-07-29 17:32:08 +02:00
Folkert
768c59f45d bigger tag size fixes 2021-07-24 13:36:06 +02:00
Folkert
59e551dd32 cleanup 2021-07-24 00:13:00 +02:00
Folkert de Vries
d5c6fc7179
Merge branch 'trunk' into performance-tweaks 2021-07-22 22:43:16 +02:00
Folkert
533e20e49c less cloning out of Subs 2021-07-21 20:24:30 +02:00
Folkert
cb42f0c039 Merge remote-tracking branch 'origin/trunk' into add-dec-types 2021-07-18 16:54:38 +02:00
Folkert
e19b03f290 WIP 2021-07-18 00:04:10 +02:00
Folkert
0171fd0959 remove Boxed 2021-07-14 15:33:59 +02:00
Folkert
7d91cb4cd7 clippy 2021-07-14 00:56:16 +02:00
Folkert
1bea704272 only expand recursive tag unions if it's a different type (think linked-list of trees) 2021-07-14 00:48:10 +02:00
Folkert
e02d950c7c Merge remote-tracking branch 'origin/trunk' into reset-reuse 2021-07-13 00:44:05 +02:00
Folkert
83bea1582f box fixes 2021-07-13 00:42:21 +02:00
Folkert
09f01ba193 Boxed skeleton 2021-07-12 17:01:53 +02:00
Jared Ramirez
67eef2c97f Merge branch 'trunk' of https://github.com/rtfeldman/roc into add-dec-types 2021-07-08 16:47:42 -07:00
Folkert
71d46a9b51 fix wrong bool 2021-07-05 17:35:55 +02:00
Folkert
b2792af5f6 add helper function 2021-07-04 15:10:32 +02:00
Folkert
6f48c9762b consider tags that are represented as NULL 2021-07-03 14:15:05 +02:00
Folkert
5250e930aa don't unroll recursive layouts 2021-07-03 14:07:29 +02:00
Folkert
6e3a2cd94d remove union_size from Tag expr 2021-07-02 10:48:03 +02:00
Folkert
978cea4b8a passing tests 2021-06-28 22:28:47 +02:00
Folkert
1d1bcaea63 make ir use different tag id types 2021-06-28 20:16:39 +02:00
Folkert
0d07c2ef84 make tag id less hardcoded 2021-06-28 20:03:49 +02:00
Folkert
3e387e8328 refactor 2021-06-27 15:08:57 +02:00
Folkert
e27a12e644 add comment 2021-06-27 14:43:45 +02:00