Commit Graph

221 Commits

Author SHA1 Message Date
Richard Feldman
f619932255
Merge pull request #1699 from rtfeldman/effect-after
Fix closures only monomorphizing once
2021-09-13 19:50:50 -04:00
Folkert
52d36cbe72 fix closure weirdness (skipping or infinite looping) 2021-09-13 22:50:48 +02:00
Folkert
350891468a add LambdaSet layout variant 2021-09-12 17:00:09 +02:00
Folkert
c0cfd6ac16 make conversion a cast again 2021-09-12 14:28:44 +02:00
Folkert
0b893eb972 remove alignment bump again 2021-09-12 14:01:41 +02:00
Richard Feldman
0dd1395331
Merge pull request #1686 from rtfeldman/refcounting-cleanup
Refcounting cleanup
2021-09-11 13:33:36 -04:00
Folkert
cf5bb7ae6e cleanup 2021-09-11 13:56:06 +02:00
Folkert
eeb3c26e16 decref for dict/set 2021-09-10 22:31:39 +02:00
Folkert
cd9b32ba65 fix list decref 2021-09-10 21:53:57 +02:00
Folkert
5e68d31afc expose decref_pointer_check_NULL 2021-09-10 20:42:25 +02:00
Folkert
ac75badbe4 refactor 2021-09-10 20:08:05 +02:00
Folkert
1d8a475ac6 un-pub function 2021-09-10 16:06:14 +02:00
Folkert
05ef6fdeb7 simplify 2021-09-10 15:47:16 +02:00
Folkert
770c8352e3 refactor 2021-09-10 15:29:28 +02:00
Folkert
7627e15266 remove dead code 2021-09-10 14:58:27 +02:00
Folkert
fc15004714 fix C abi issues in exposed main (quicksort platform) 2021-09-10 10:15:01 +02:00
Folkert
3fb6736f7c clarify comment 2021-09-06 22:23:23 +02:00
Folkert
0865826364 Merge remote-tracking branch 'origin/trunk' into wasm-base64 2021-09-06 22:17:52 +02:00
Folkert
05f56a34c7 cleanup 2021-09-05 21:23:08 +02:00
Folkert
6201ac5e6b if all constants, store list + refcount in constants section 2021-09-05 21:23:08 +02:00
Folkert
da966ed506 store integer lists in the constants section 2021-09-05 21:23:08 +02:00
Folkert
8e7aef314a add ListLiteralElement 2021-09-05 21:23:08 +02:00
Folkert
93817a38e2 convert zig struct to roc record 2021-09-04 16:41:29 +02:00
Folkert
1d17a21d1f higher alignment requirement on rocstr/roclist 2021-09-04 15:18:37 +02:00
Folkert
b72726b367 clippy 2021-09-04 01:39:59 +02:00
Folkert
a7eeae05ca support i386 (no linking yet) 2021-09-04 01:31:33 +02:00
Folkert
2954b582a7 layout add allocation_alignment_bytes 2021-09-04 00:21:14 +02:00
Folkert
0ae2c5fe19 check whether a pointer actually stores the tag id in the bits 2021-09-03 23:47:05 +02:00
Folkert
4e39543054 simplify/optimize decref logic 2021-09-01 23:07:56 +02:00
Folkert
85e4afefe8 quick fix for failing expects on wasm 2021-09-01 17:22:57 +02:00
Folkert
5cb7dbd3cc use zig's decref instead of an LLVM implementation 2021-09-01 16:58:05 +02:00
Folkert
59c63ef3a8 fix tag id stored in ptr bits on 32-bit systems 2021-09-01 15:57:32 +02:00
Folkert
b416e854ef Merge remote-tracking branch 'origin/trunk' into wasm-gen-test 2021-08-29 23:14:03 +02:00
Folkert
344f30747d make Dict.len actually return a usize 2021-08-29 23:05:58 +02:00
Folkert
32ef95e3d0 clean up sjlj code gen 2021-08-29 17:09:32 +02:00
Folkert
53c8500d11 use zig to generate round function; llvm gives wasm errors 2021-08-29 17:09:04 +02:00
Richard Feldman
b3e6a248cf Cast to expect_failed in LLVM, not zig 2021-08-28 21:24:16 -04:00
Folkert
b57632e4cc pass list to zig according to c abi 2021-08-29 00:24:59 +02:00
Joshua Hoeflich
4e57b1edf2 Bump expect to run Rust fn 2021-08-28 11:10:02 -05:00
Joshua Hoeflich
93b77a840a Threading through null ptr 2021-08-28 10:57:52 -05:00
Joshua Hoeflich
8fc663b735 Expect no longer crashes 2021-08-28 10:08:12 -05:00
Folkert
8fa4e55c74 Merge remote-tracking branch 'origin/trunk' into wasm-cli-option 2021-08-27 09:35:34 +02:00
Richard Feldman
ffeaa1ac08
Merge branch 'trunk' into store-dec-as-str 2021-08-26 21:24:56 -04:00
Folkert
36fc9b5f1f update target-lexicon 2021-08-26 21:39:33 +02:00
Folkert
fca5463751 more faithfully implement the C abi
when generating llvm/roc functions for e.g. roc_fx_putLine
2021-08-26 21:22:21 +02:00
Jared Ramirez
4b2a63fb30 Merge branch 'trunk' of https://github.com/rtfeldman/roc into store-dec-as-str 2021-08-26 11:23:17 -07:00
Jared Ramirez
8594f2efbe Change how decimals are stored in mono 2021-08-26 11:18:26 -07:00
Richard Feldman
bc5b8bfbba Merge remote-tracking branch 'origin/trunk' into wasm-cli-option 2021-08-25 23:05:53 -04:00
Folkert
b9cd254b9a allow 4byte alignment in dict values 2021-08-25 22:07:16 +02:00
Folkert
f04ad1643f fix some things 2021-08-25 20:54:34 +02:00