Commit graph

855 commits

Author SHA1 Message Date
Folkert
fc01a0ee44
ignore if set_shared_buffer is not defined 2022-07-27 23:50:06 +02:00
Folkert
e62a0ee39a
make string clone return where next extra bytes should be written 2022-07-27 22:48:41 +02:00
Folkert
631c642950
store the start of the value for each variable in a table 2022-07-27 21:32:49 +02:00
Folkert
9bdf1f733f
Wasm32Sized for isize 2022-07-27 20:10:47 +02:00
Folkert
da74585786
switch to load/store instead of phi because of weird bug 2022-07-27 19:27:55 +02:00
Folkert
f7452b8889
pass the shared buffer to zig directly 2022-07-27 17:16:12 +02:00
Folkert
a60a49bce6
dev backend cannot compare floats 2022-07-27 14:46:46 +02:00
Folkert
b132b1fa89
fix non-recursive tag unions in expects 2022-07-27 14:44:43 +02:00
Folkert
b24c9e33d7
make test_gen a package 2022-07-27 13:49:23 +02:00
Folkert
498004c554
clean up expect code when not running tests 2022-07-27 12:26:03 +02:00
Folkert
eefb23e433
DCE expect helper for non-expect code gen 2022-07-27 12:07:51 +02:00
Folkert
40d7e94a17
make the mmapped buffer configurable 2022-07-26 23:36:25 +02:00
Folkert
f011748526
fix duplicate test failing llvm wasm tests 2022-07-26 18:22:05 +02:00
Folkert
6d0e751999
fix bug in expect handling on the cli side 2022-07-25 22:37:36 +02:00
Folkert
d3cb0e03d4
fix bug with incrementing elem loop on empty range 2022-07-25 21:15:15 +02:00
Folkert de Vries
d212dffa1a
Merge pull request #3616 from rtfeldman/i3614
Compile branches in the presence of degenerate patterns
2022-07-25 19:45:36 +02:00
Folkert de Vries
50021a65cf
Merge pull request #3615 from rtfeldman/3198
Support parsing opaque destructures as first item in nested body
2022-07-25 19:32:57 +02:00
Richard Feldman
10001876bb
Merge pull request #3629 from rtfeldman/when-binop
Allow `when` after infix operators
2022-07-25 08:59:54 -04:00
Richard Feldman
a790db6159
Merge pull request #3613 from rtfeldman/i3263
Allow underscores in assignment patterns, and warn on assignments that don't add anything new
2022-07-25 08:59:40 -04:00
Richard Feldman
a1a3eff278
Support when after binop 2022-07-24 18:25:02 -04:00
Richard Feldman
bbf867c1d1
Reproduce missing support for when after operator 2022-07-24 18:25:02 -04:00
Richard Feldman
0d2141d8b8
Separate out parse_loc_term_or_underscore_or_if 2022-07-24 18:15:18 -04:00
Folkert de Vries
834378503f
Merge pull request #3625 from rtfeldman/multiple-expects
Multiple expects
2022-07-25 00:04:37 +02:00
Richard Feldman
a9483e4098
Merge pull request #3626 from rtfeldman/llvm-wasm-tests
Llvm wasm tests
2022-07-24 17:12:19 -04:00
Richard Feldman
089fae2d56
Merge pull request #3627 from rtfeldman/glue
Replace separate bindgen CLI with `roc glue`
2022-07-24 17:04:20 -04:00
Ayaz Hafiz
c882c76685
Update test 2022-07-24 16:12:47 -04:00
Ayaz Hafiz
0d13dcb1af
Update can tests 2022-07-24 16:11:05 -04:00
Ayaz Hafiz
0de32ac5a9
Warn on definitions that introduce no new variables 2022-07-24 16:11:04 -04:00
Ayaz Hafiz
beccc92c87
Support underscores in assignment patterns 2022-07-24 16:11:03 -04:00
Ayaz Hafiz
fbd70c4031
Parse assignment patterns with underscores 2022-07-24 16:10:01 -04:00
Ayaz Hafiz
79dcec705d
Disable wasm test for now 2022-07-24 16:07:26 -04:00
Brendan Hansknecht
3e82d30e89
Merge pull request #3619 from rtfeldman/gen-dev/array
Gen dev/array
2022-07-24 18:21:20 +00:00
Richard Feldman
cc790a2773
fixup! Rename bindgen_rs to rust_glue 2022-07-24 11:54:40 -04:00
Folkert
916ab396c0
don't read uninitialized memory 2022-07-24 17:53:59 +02:00
Folkert
9cb611e540
clippy 2022-07-24 16:49:42 +02:00
Folkert
7953da1c71
clippy 2022-07-24 16:33:57 +02:00
Folkert
11c0ca2f1b
wasm test wrapper: don't return dangling pointers 2022-07-24 16:28:41 +02:00
Folkert
d87c079620
change how tags are created
wasm in optimize mode just removed the whole tag creation
2022-07-24 15:50:54 +02:00
Folkert
425004dd28
remove duplicate test 2022-07-24 15:49:21 +02:00
Folkert
6e12ac191d
check i128 alignment for wasm too 2022-07-24 14:11:52 +02:00
Folkert
2181d4c498
cleanup 2022-07-24 14:11:37 +02:00
Folkert
91a11a70af
fix str_walk_utf8_with_index 2022-07-24 14:04:41 +02:00
Folkert
8d4a770373
return list instead of nat 2022-07-24 13:48:06 +02:00
Folkert
4b5432328b
update tag tests 2022-07-24 13:42:06 +02:00
Folkert
60b7f2cf94
additional 32-bit string layout tests 2022-07-24 13:38:11 +02:00
Folkert
05a7d76a5e
update StrGetUnsafe 2022-07-24 13:34:14 +02:00
Folkert
100e439852
fix bug with ALIGN_OF_WASM on tuples (it used the size) 2022-07-24 13:33:35 +02:00
Folkert
f7d1ba6952
fix list sorting 2022-07-24 13:24:28 +02:00
Folkert
c274ada741
more cleanup 2022-07-24 13:21:00 +02:00
Folkert
9f37e73ae5
cleanup 2022-07-24 13:18:53 +02:00