Folkert
4eacbf5794
remove cxa_rethrow_exception
2021-05-30 14:42:04 +02:00
Richard Feldman
d53d444a1f
Merge pull request #1354 from rtfeldman/centralize-inkwell
...
centralize inkwell imports
2021-05-29 21:34:00 -04:00
Richard Feldman
4bf4de8ae9
Merge pull request #1353 from rtfeldman/imported-thunks
...
Imported thunks
2021-05-29 21:30:39 -04:00
Folkert
50ea46e73e
add test
2021-05-29 23:29:33 +02:00
Folkert
64576ddab5
add exception id to invoke/rethrow
2021-05-29 23:27:43 +02:00
tarjei
ade591dd10
Fix plumbing
2021-05-29 22:21:25 +02:00
Folkert
3636e18a18
centralize inkwell imports
2021-05-29 21:46:33 +02:00
tarjei
107822a5cc
Add plumbing for List.swap
2021-05-29 21:30:16 +02:00
tarjei
98011f48a8
Add tests
...
These tests cover, for good measure:
- swapping an empty list
- swapping elements outside a list
- swapping a short list
- swapping with reversed args
- swapping the middle of a long list
- swapping with one index outside the list
- swapping the same index with itself
2021-05-29 20:58:59 +02:00
Folkert
551c9355a6
run rustfmt
2021-05-29 20:57:27 +02:00
Folkert
a77b5504d8
force imported thunks when used
2021-05-29 20:48:57 +02:00
Folkert
3105f09b2f
use empty tag union for tag union with no members
2021-05-29 20:44:53 +02:00
Jared Ramirez
a4d3f96f25
Run build script instead of zig build on big sur
2021-05-28 17:03:59 -07:00
Folkert
25c9089334
Revert "thread alias analysis solutions"
...
This reverts commit b75c40e65b
.
2021-05-28 23:57:26 +02:00
Folkert
b75c40e65b
thread alias analysis solutions
2021-05-28 23:57:11 +02:00
Folkert
1b3bbaf5de
define one global static str
2021-05-28 23:56:52 +02:00
Richard Feldman
2c0b52dd6f
Fix mono test
2021-05-27 22:16:07 -04:00
Richard Feldman
4af5cda91d
Reuse a variable instead of duplicating strings
2021-05-27 22:16:07 -04:00
Richard Feldman
3a35fe55cf
Combine two conditionals, rename some stuff
2021-05-27 22:16:07 -04:00
Folkert
577d801829
Merge remote-tracking branch 'origin/trunk' into morphic-static-strings
2021-05-27 20:28:27 +02:00
Richard Feldman
39e873cfe2
Merge pull request #1345 from rtfeldman/num-format
...
Add Num.format docs
2021-05-27 06:38:43 -04:00
Richard Feldman
51b1ac77a4
Add Num.format docs
2021-05-26 21:01:38 -04:00
Richard Feldman
d936c30b0c
Merge branch 'trunk' into bitcode
2021-05-26 20:49:25 -04:00
Richard Feldman
519b4f2a12
Merge pull request #1340 from rtfeldman/layout-cleanup
...
Layout cleanup
2021-05-26 20:49:18 -04:00
Richard Feldman
829edd509c
Include builtins.bc in the roc binary
2021-05-26 20:45:27 -04:00
Folkert
fdfc99e4e8
add constructor info in more cases
2021-05-26 21:51:18 +02:00
Folkert
498d3ba3b5
make sure to always switch on the tag id, not the tag itself
2021-05-26 20:18:59 +02:00
Folkert
06b2beb7ca
tags have a union layout
2021-05-26 18:31:55 +02:00
Folkert
e2b200b84f
simplify list layout
2021-05-26 14:28:56 +02:00
Folkert
bfe49d2188
remove Pointer
2021-05-26 14:18:19 +02:00
Folkert
ca5e9518d9
remove PhantomEmptyStruct
2021-05-26 14:14:53 +02:00
Folkert
b04b9ab729
disable AA
2021-05-26 13:41:11 +02:00
Folkert
1d7fa5bab4
remove TODOs
2021-05-26 13:39:55 +02:00
Folkert
dddb5cf204
Merge remote-tracking branch 'origin/trunk' into morphic-static-strings
2021-05-26 13:00:46 +02:00
Folkert
384c1f8dcd
Merge branch 'morphic-static-strings' of github.com:rtfeldman/roc into morphic-static-strings
2021-05-26 13:00:33 +02:00
Richard Feldman
42d583cc88
Drop obsolete mul test
2021-05-25 19:13:19 -04:00
rvcas
522bf0c9f0
feat: port rust RocDec.mul logic over to zig
2021-05-25 19:08:50 -04:00
Richard Feldman
b3789623a6
Update Num.roc docs
2021-05-25 19:08:50 -04:00
Richard Feldman
cbdfdf08e4
Don't import dec.zig yet
2021-05-25 19:08:50 -04:00
Richard Feldman
0341c0f9dd
Beginnings of RocDec in Zig
2021-05-25 19:08:50 -04:00
Richard Feldman
ffb6ced18f
Move InPlace from llvm to mono
2021-05-25 18:12:11 -04:00
Folkert
4d0216cf09
fix merge conflicts
2021-05-25 09:18:39 +02:00
Folkert
2a61c3108e
start using the solutions
2021-05-25 09:08:01 +02:00
Folkert de Vries
5724f82667
Merge branch 'trunk' into zig-list-set
2021-05-25 09:05:18 +02:00
Richard Feldman
666caef00c
Fix scope and weak on dev wrapper generation
2021-05-24 23:28:39 -04:00
Richard Feldman
aa96d2373b
Reorder args in decref
2021-05-24 22:06:35 -04:00
Richard Feldman
65542149a3
Fix alloc type sigs in utils.zig
2021-05-24 22:01:14 -04:00
Richard Feldman
2909c06e72
Add tail_call to ASM trait
2021-05-24 21:41:37 -04:00
Richard Feldman
595c704e88
Generate roc_alloc etc in dev_num tests
2021-05-24 21:36:27 -04:00
Richard Feldman
0b3715ebee
Rearrange arg order for roc_alloc etc
2021-05-24 21:01:12 -04:00