J.Teeuwissen
78c1855b66
Fixed logic
2023-06-19 17:41:57 +02:00
Hannes
97fa6758d0
Rename trimLeft to trimStart and trimRight to trimEnd
2023-06-19 13:17:59 +08:00
J.Teeuwissen
fdfa978ca8
added branch info and uniqueness check
2023-06-18 20:00:15 +02:00
Ayaz Hafiz
ee25735731
LayoutIds use LayoutRepr
2023-06-17 18:13:02 -05:00
Ayaz Hafiz
bc41db2a34
Get rid of passing target_info a bunch
2023-06-17 18:13:00 -05:00
Ayaz Hafiz
314cc7855a
Revert "Check if benchmarks are weird"
...
This reverts commit 24e7a56f4b
.
2023-06-16 15:26:02 -05:00
Ayaz Hafiz
24e7a56f4b
Check if benchmarks are weird
2023-06-16 14:49:01 -05:00
Ayaz Hafiz
5b0d47c9eb
Drop Layout::alignment_bytes_for_llvm
2023-06-16 10:30:44 -05:00
Ayaz Hafiz
2294f6994f
TERRIBLE HACK to support x86 compilation
2023-06-16 10:30:44 -05:00
Ayaz Hafiz
90533bc014
Add Layout::LIST_U8
2023-06-16 10:30:42 -05:00
Ayaz Hafiz
de44e90fda
Add Layout::STR_PTR
2023-06-16 10:30:40 -05:00
Ayaz Hafiz
47fb9fe6f2
Implement struct-by-reference for structs over 4 machine words
2023-06-16 10:30:40 -05:00
Ayaz Hafiz
c91b82198d
Use correct variable when compiling dbg continuation
...
Closes #5479
2023-06-13 16:45:02 -05:00
Folkert de Vries
b3c598fcf6
Merge pull request #5539 from roc-lang/dev-gen-primitives
...
dev backend: de-duplicate function names based on the lambda set
2023-06-13 22:13:34 +02:00
Ayaz
c907b12cf0
Merge pull request #5548 from JTeeuwissen/fix-oc-test-panics-after-roc-check-said-zero-errors,-zero-warnings
...
Index array symbols unknown symbols
2023-06-13 13:44:12 -05:00
J.Teeuwissen
5d66ae4295
removed target info
2023-06-13 17:15:04 +02:00
J.Teeuwissen
36abaec07d
Index array symbols unknown symbols
2023-06-13 15:56:55 +02:00
Folkert
59da1ea891
consistently name function symbols
...
previously the dev backend did not take into account lambda name information to generate function names. This could cause the same function name to be defined twice
2023-06-11 13:39:43 +02:00
Folkert
92194be436
use retain
to save on some allocations
2023-06-10 23:55:15 +02:00
J.Teeuwissen
86797a9515
typo
2023-06-10 23:55:14 +02:00
J.Teeuwissen
fbf3faeaf1
Simplified logic
2023-06-10 23:55:14 +02:00
J.Teeuwissen
46bff75517
progress
2023-06-10 23:55:09 +02:00
J.Teeuwissen
d735742fdb
used resulting incremented_symbols
2023-06-10 23:54:00 +02:00
J.Teeuwissen
94fb89bde4
Start drop specialisation for joinpoints
2023-06-10 23:53:19 +02:00
Folkert
515d60a138
many extra gen_primitives tests for gen-dev
2023-06-07 12:52:33 +02:00
Folkert
0e43510103
fix struct equality using pointer equalty ?!
2023-06-07 12:51:15 +02:00
Folkert
140a294460
never switch on a float
2023-06-07 12:51:15 +02:00
Ayaz
c7f5007cd8
Merge pull request #5400 from roc-lang/semantic-layouts-for-newtypes
...
Implement semantic layouts for newtypes
2023-06-07 05:39:20 -05:00
J.Teeuwissen
36f90c05e2
updated Stmt::Dbg
2023-06-07 08:34:36 +02:00
Ayaz Hafiz
43259b9ad6
Compile dbgs that appear in expects
...
Closes #5480
2023-06-06 18:07:34 -05:00
Ayaz Hafiz
80a98668d5
Fix type errors
2023-06-06 16:07:51 -05:00
Ayaz Hafiz
a6b3656471
Begin generating newtype wrappers for struct layouts
2023-06-06 16:04:41 -05:00
Ayaz Hafiz
57bd0d29d6
Be sure to preserve layout wrappers during reification
2023-06-06 16:03:53 -05:00
Ayaz Hafiz
9a8d138424
eq_repr should chase under reprs
2023-06-06 16:03:53 -05:00
Ayaz Hafiz
5274dbcd00
Add a Newtype variant to LayoutWrapper
2023-06-06 16:03:52 -05:00
Ayaz Hafiz
457cdabc5c
Make repr private and accessible only via the interner
2023-06-06 16:01:27 -05:00
J.Teeuwissen
d8f1b1bfe4
removed refcount type from proc
2023-06-03 19:25:13 +02:00
J.Teeuwissen
162e6bbb90
manual default
2023-05-30 11:01:13 +02:00
J.Teeuwissen
f0addf5300
feedback
2023-05-30 10:55:38 +02:00
J.Teeuwissen
93ea086115
Merge branch 'main' into record-update-index-top
2023-05-30 10:47:19 +02:00
J.Teeuwissen
9f23c3d26a
Feedback
2023-05-29 16:38:34 +02:00
J.Teeuwissen
b7a7a735fc
keep inc env always, but set count to 0.
2023-05-29 12:09:18 +02:00
J.Teeuwissen
079290dcaf
Keep 0 in counting map
2023-05-29 10:54:09 +02:00
J.Teeuwissen
e29af85dcf
Fixed tests
2023-05-29 08:39:59 +02:00
J.Teeuwissen
c3e1e600a6
Merge branch 'main' into save-construction-children
2023-05-29 08:02:34 +02:00
Brendan Hansknecht
6149e721f6
fix main by adding missing match branches
2023-05-28 20:29:10 -07:00
J.Teeuwissen
dbebaf17a6
using CountingMap for children
2023-05-28 23:10:24 +02:00
J.Teeuwissen
8f022d4310
fixed specialisation box
2023-05-28 21:18:28 +02:00
J.Teeuwissen
ffc19ec2a2
missing arm
2023-05-28 20:21:10 +02:00
J.Teeuwissen
6e6e1ce833
Merge remote-tracking branch 'origin/main' into save-construction-children
2023-05-28 20:08:22 +02:00