Commit graph

5620 commits

Author SHA1 Message Date
Shritesh Bhattarai
f1179aeb71
Merge branch 'trunk' into shritesh/aarch64-tests 2021-11-02 13:21:51 -04:00
Brian Carroll
d8c1017aec refactor stack pointer initialisation 2021-11-02 14:00:22 +00:00
Brian Carroll
baf896f6f9 Migrate linking and relocation sections 2021-11-02 13:56:47 +00:00
Shritesh Bhattarai
a7b218a71b
Merge branch 'trunk' into shritesh/aarch64-tests 2021-11-02 09:52:46 -04:00
Brian Carroll
e720873c05 Migrate to own Global and Memory sections 2021-11-02 13:32:54 +00:00
Shritesh Bhattarai
fed61702ce Pass target_triple_str instead of native to aarch64 zig 2021-11-02 09:24:52 -04:00
Anton-4
9af09273b3 update to rust 1.56.1 2021-11-02 14:10:01 +01:00
Brian Carroll
edadd4ce13 Temporary setup to gradually migrate sections from parity_wasm to our own module_builder
Previously we just had our own code section.
Now we also have export section, and a way of switching them over one by one,
running tests in between.
2021-11-02 12:46:15 +00:00
Richard Feldman
4e19320982
Merge branch 'trunk' into false-cleanup 2021-11-01 22:30:45 -04:00
Folkert
54429162ad clippy 2021-11-01 23:19:47 +01:00
Folkert
0ad83fe990 Merge remote-tracking branch 'origin/trunk' into morphic-spec-sortwith 2021-11-01 23:11:52 +01:00
Folkert
89b850983d all higher order lowlevels have morphic specs 2021-11-01 23:05:59 +01:00
Folkert
a36fddd27a morphic for List.map, List.mapWithIndex, List.walk 2021-11-01 21:21:26 +01:00
Shritesh Bhattarai
2b014efe7d
Merge branch 'trunk' into shritesh/aarch64-tests 2021-11-01 15:48:24 -04:00
Folkert
ca537a44b8 thread through update_mode 2021-11-01 20:12:39 +01:00
Brian Carroll
4f464e485a Export and code sections 2021-11-01 14:13:34 +00:00
Brian Carroll
2a0dbb39fb Memory and Global sections 2021-11-01 12:30:44 +00:00
Brian Carroll
f1736f5e54
Merge branch 'trunk' into wasm_relocations 2021-11-01 11:23:50 +00:00
Brian Carroll
e05ef73f6c function section 2021-11-01 09:54:09 +00:00
Brian Carroll
eb9705e2e9 import section 2021-11-01 09:48:29 +00:00
Folkert
7cd5d41b35 bump varid for closure var (List.map4 used so many variables that they interfered 2021-11-01 10:34:34 +01:00
Brian Carroll
d25b12328d Rename some SerialBuffer methods 2021-11-01 08:42:02 +00:00
Brian Carroll
7ad452d78a Types section 2021-11-01 08:34:34 +00:00
Brian Carroll
6ab00d164c Create WasmModule struct 2021-11-01 00:06:25 +00:00
Brian Carroll
c29e8bc452 comment formatting 2021-11-01 00:05:18 +00:00
Brian Carroll
63f65947bc Remove excessive calls to LayoutIds::default() 2021-11-01 00:02:28 +00:00
Brian Carroll
49ac08546c Replace a vector reference with a slice 2021-11-01 00:01:48 +00:00
Folkert
830764221e add specification for sortWith 2021-10-31 22:31:55 +01:00
Kevin Sjöberg
0f8047cbf0 Remove dead code 2021-10-31 21:08:41 +01:00
Kevin Sjöberg
3fbb081f75 Correct comment of List.map3 signature 2021-10-31 21:08:41 +01:00
Kevin Sjöberg
f9ed060e49 Implement List.map4 2021-10-31 21:08:41 +01:00
Folkert
c7920b2a24 refactor 2021-10-31 17:38:07 +01:00
Luiz de Oliveira
4b8a816aed Merge branch 'trunk' of github.com:rtfeldman/roc into Change--arch-flag-to--A-when-calling-ld 2021-10-31 11:49:58 -03:00
Brian Carroll
51f3f1ece8
Merge branch 'trunk' into wasm_relocations 2021-10-31 14:37:52 +00:00
Folkert
a40c4f4fd5 use Entry 2021-10-31 13:47:02 +01:00
Folkert de Vries
0f5411da5f
Merge branch 'trunk' into false-cleanup 2021-10-31 11:12:34 +01:00
Brian Carroll
572bdb987f Add a comment 2021-10-31 08:32:33 +00:00
Chelsea Troy
e01942f387
Whoops, let's make List.max actually accessible on the frontend, lol 2021-10-30 19:23:08 -05:00
Chelsea Troy
4afaf96aea
Add List.max builtin 2021-10-30 19:17:35 -05:00
Folkert
27e70b03e0 cleanup 2021-10-30 22:20:14 +02:00
Folkert
36496662d2 add comment on uninitialized memory 2021-10-30 22:14:26 +02:00
Folkert
29e7853b85 use phi node in elem_loop 2021-10-30 22:05:43 +02:00
Folkert
44e8fbc203 construct tag in alloca (to eventually pass them by pointer) 2021-10-30 22:05:22 +02:00
Luiz de Oliveira
8d1e1f043f Change --arch flag to -A when calling ld 2021-10-30 16:07:08 -03:00
Brian Carroll
96832ed1e3 self review 2021-10-30 18:22:09 +01:00
Brian Carroll
b0e0c14dd8 clippy 2021-10-30 17:52:38 +01:00
Brian Carroll
7fdaa5b91f Merge branch 'trunk' of github.com:rtfeldman/roc into wasm_relocations 2021-10-30 17:47:38 +01:00
Brian Carroll
b8eea9be2b Fix linking bugs from wasm-objdump analysis 2021-10-30 17:47:13 +01:00
Brian Carroll
0ee482ae9e Fix string encoding. Tests pass. 2021-10-30 10:57:21 +01:00
Brian Carroll
99b08ad395 Skip relocations for test_wrapper since we don't run a linker on it anyway. 2021-10-30 09:50:53 +01:00