Commit Graph

4717 Commits

Author SHA1 Message Date
Folkert
59c63ef3a8 fix tag id stored in ptr bits on 32-bit systems 2021-09-01 15:57:32 +02:00
Folkert
3ef4a40f45 hopefully get the logic right this time 2021-09-01 15:56:50 +02:00
Folkert
4731cbd391 trying to be even smarter 2021-08-31 22:40:13 +02:00
Folkert
a810c2c27b smarter alignment code 2021-08-31 22:37:32 +02:00
Folkert
106f1311d2 only conditionally flip a bit 2021-08-31 22:32:56 +02:00
Folkert
49708cfff8 WIP 2021-08-31 20:11:28 +02:00
Folkert
b7db53a8d9 remove wasm tests (they would obviously fail CI) 2021-08-31 12:36:50 +02:00
Anton-4
3f148fe4eb removed wasm tests relying on unreleased zig version 2021-08-31 12:33:22 +02:00
Folkert
2e91914443 use zig wasm-ld 2021-08-30 00:18:01 +02:00
Folkert
b416e854ef Merge remote-tracking branch 'origin/trunk' into wasm-gen-test 2021-08-29 23:14:03 +02:00
Folkert
ca227a58aa clippy 2021-08-29 23:13:40 +02:00
Folkert
4d53b60c02 fix use after move 2021-08-29 23:11:16 +02:00
Folkert
d77c695e45 turn off wasm testing 2021-08-29 23:08:16 +02:00
Folkert
4ced5ce2c0 updates for tests 2021-08-29 23:06:23 +02:00
Folkert
344f30747d make Dict.len actually return a usize 2021-08-29 23:05:58 +02:00
Folkert
1ca0b797ea make Dict.len return a nat 2021-08-29 23:04:20 +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
rvcas
059aeaf1de fix: obj and ir files have new names 2021-08-29 10:47:53 -04:00
Folkert
5150e9e819 make primitive tests work under wasm 2021-08-29 15:24:46 +02:00
Folkert
815a4f76a7 make more tests run under wasm 2021-08-29 15:18:25 +02:00
Folkert
b37cccaa01 run more tests with wasm 2021-08-29 13:32:08 +02:00
Folkert
de7db3e730 make more things infer as NAT 2021-08-29 13:31:55 +02:00
Richard Feldman
2ce84d2b84 Drop unused builtin utility 2021-08-28 21:26:57 -04:00
Richard Feldman
b3e6a248cf Cast to expect_failed in LLVM, not zig 2021-08-28 21:24:16 -04:00
Folkert
727222bbe7 hashing always returns a U64 2021-08-29 00:51:48 +02:00
Folkert
fdd34a5d3e zig remove explicit libc dep in 32-bit mode 2021-08-29 00:37:28 +02:00
Folkert
71c0a325ee wasm test harnass 2021-08-29 00:36:16 +02: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
Folkert
0d7d006cd7 hooking things up 2021-08-28 17:58:05 +02: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
72e6a34a0d proof of concept 2021-08-28 14:48:24 +02:00
Folkert
c6163a73f6 use environment size of pointer 2021-08-27 12:25:21 +02:00
Folkert
541c56adb7 emit .bc to the right place in wasm + debug mode 2021-08-27 12:24:08 +02:00
Folkert
8fa4e55c74 Merge remote-tracking branch 'origin/trunk' into wasm-cli-option 2021-08-27 09:35:34 +02:00
Richard Feldman
18231876be
Drop comment 2021-08-26 21:39:46 -04:00
Richard Feldman
ffeaa1ac08
Merge branch 'trunk' into store-dec-as-str 2021-08-26 21:24:56 -04:00
Richard Feldman
11f2bc643a
Merge pull request #1629 from rtfeldman/layout-sort-ptr-bytes
Layout sort ptr bytes
2021-08-26 21:12:52 -04:00
Folkert
45f18ff74f use non-hardcoded alignment 2021-08-26 22:58:47 +02:00
Folkert
e95cf7dd5f use non-hardcoded alignment 2021-08-26 22:58:24 +02:00
Folkert
9bd3e8f96c Merge branch 'layout-sort-ptr-bytes' into wasm-cli-option 2021-08-26 22:37:36 +02:00
Folkert
ba2f20ccc5 fix test 2021-08-26 22:19:06 +02:00
Folkert
a070a7fcc7 add ptr_bytes to layout env 2021-08-26 22:12:44 +02:00
Folkert
af1051ef89 add ptr_bytes to the layout cache 2021-08-26 22:06:47 +02: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
ced4307b46 Fix can tests 2021-08-26 11:39:21 -07: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