Commit Graph

16018 Commits

Author SHA1 Message Date
Anton-4
cfafd7891a
random commit because CI is not triggering 2022-06-03 09:53:53 +02:00
Anton-4
9ffad6d18b
different fix for zig caching issue 2022-06-03 09:53:50 +02:00
Brian Carroll
86d14b9391
wasm: initialise the heap with one page of memory (otherwise some tests crash) 2022-06-03 09:51:33 +02:00
Brian Carroll
f063064e01
wasm: make sure the host's extern globals are exposed to JS 2022-06-03 09:51:33 +02:00
Brian Carroll
32db70d661
wasm: ensure output debug data is valid when we have duplicate names 2022-06-03 09:51:33 +02:00
Brian Carroll
19a47cb384
wasm: Configure and export the module's memory 2022-06-03 09:51:33 +02:00
Brian Carroll
32d1e0b50b
wasm: relocations must account for offset of preloaded bytes in code section 2022-06-03 09:51:33 +02:00
Brian Carroll
b1d3bac1c4
wasm: fix relocation bug 2022-06-03 09:51:33 +02:00
Brian Carroll
ddf1fe3977
wasm: Fix ImportSection bug 2022-06-03 09:51:33 +02:00
Brian Carroll
9b47dada6a
wasm: implement relocations to set memory layout 2022-06-03 09:51:33 +02:00
Brian Carroll
73f0a7c96c
wasm: Create a global for __stack_pointer 2022-06-03 09:51:33 +02:00
Brian Carroll
78cae6c3b3
wasm: extract end address from Data section 2022-06-03 09:51:33 +02:00
Brian Carroll
f493fcb1e4
wasm: parse the remainder of the 'linking' section 2022-06-03 09:51:33 +02:00
Brian Carroll
16333b823a
wasm: parse some of the linking section 2022-06-03 09:51:33 +02:00
Brian Carroll
155dcefd00
wasm: parse relocation data 2022-06-03 09:51:33 +02:00
Brian Carroll
73d79d68b0
wasm: add some utility Parser instances and todos 2022-06-03 09:51:33 +02:00
Brian Carroll
2732d46f37
wasm: fix section order for a file with linking data 2022-06-03 09:51:33 +02:00
Brian Carroll
4a22d22515
wasm: treat wrong section ID as empty section 2022-06-03 09:51:32 +02:00
Brian Carroll
dad1d14ef8
wasm: make host file relocatable 2022-06-03 09:51:32 +02:00
Folkert de Vries
c436ac98e2
Merge pull request #3167 from rtfeldman/no-more-tagname
Remove TagName on the front end
2022-06-02 22:52:08 +02:00
Folkert de Vries
4dee0e8129
Merge pull request #3170 from rtfeldman/remove-restore
Remove Subs::restore
2022-06-02 20:22:02 +02:00
Ayaz Hafiz
fe85cdc3c2
Remove Subs::restore
Looks like this is unneeded. One less large type walker to update
2022-06-02 12:28:02 -05:00
Ayaz Hafiz
873271b02d
Remove unused impl 2022-06-02 09:44:39 -05:00
Ayaz Hafiz
26332901be
Update ident size on wasm 2022-06-02 09:44:39 -05:00
Ayaz Hafiz
32cd3d16d2
Assert sizeof non-wasm 2022-06-02 09:44:38 -05:00
Ayaz Hafiz
7421e444b1
Remove unnecessary SubsFmtContent 2022-06-02 09:44:38 -05:00
Ayaz Hafiz
b0c602eb8d
Clippy 2022-06-02 09:44:38 -05:00
Ayaz Hafiz
bde107da49
Remove TagName in favor of explicit TagName or Closure
Note that we still need a `TagOrClosure` enum for phases past mono, but
at least we get rid of the branches in the front end.
2022-06-02 09:44:34 -05:00
Folkert de Vries
bbc022b2f5
Merge pull request #3168 from rtfeldman/rm-mono-exhaustiveness
Remove mono/src/exhaustive.rs
2022-06-02 09:14:36 +02:00
Ayaz Hafiz
5e35609369
Remove mono/src/exhaustive.rs 2022-06-01 17:39:16 -05:00
Folkert de Vries
31ccc2638e
Merge pull request #3155 from rtfeldman/uls
Make lambda sets their own type
2022-06-01 21:29:23 +02:00
Ayaz Hafiz
a8453b0fca
Fix macro 2022-06-01 13:27:24 -05:00
Ayaz Hafiz
c827349ae2
Simply choosing of the matching variable 2022-06-01 13:18:56 -05:00
Ayaz Hafiz
2c62f9b5ba
s/occurence/occurrence 2022-06-01 13:18:55 -05:00
Ayaz Hafiz
5b7f4ef5ec
Clippy 2022-06-01 13:18:55 -05:00
Ayaz Hafiz
0fa4aa8cbd
Simplify maybe_mark_union_recursive 2022-06-01 13:18:55 -05:00
Ayaz Hafiz
2f29326e7a
Remove piggyback of tag unions for lambda sets 2022-06-01 13:18:55 -05:00
Ayaz Hafiz
b4bca5423b
Remove promotion to recursion var for lambda sets 2022-06-01 13:18:55 -05:00
Ayaz Hafiz
591528d8a3
Handle case where lambda set is unbound 2022-06-01 13:18:55 -05:00
Ayaz Hafiz
c66f989467
Recursive closure layout working again in effect test 2022-06-01 13:18:54 -05:00
Ayaz Hafiz
2e70c9aba4
Getting closer. Checking in for a break. 2022-06-01 13:18:53 -05:00
Ayaz Hafiz
790eb8e20c
Lambda sets don't need extension vars 2022-06-01 13:18:03 -05:00
Ayaz Hafiz
c2a2ce690c
Lift lambda sets as their own type
This prepares for unspecialized lambda set in the type system in
general.
2022-06-01 13:17:22 -05:00
Ayaz Hafiz
40b43ea98d
Fix tests that use same temp path 2022-06-01 13:14:01 -05:00
Ayaz Hafiz
3fc95bad90
Remove unused lambda set struct 2022-06-01 13:14:00 -05:00
Folkert de Vries
80492cbb0a
Merge pull request #3164 from rtfeldman/deep-copy-var-loop
make deep_copy_var non-recursive
2022-06-01 20:00:05 +02:00
Folkert
9540aa5b70
make deep_copy_var non-recursive 2022-06-01 17:59:35 +02:00
Folkert de Vries
cd6715a79a
Merge pull request #3160 from rtfeldman/zig-cache-fix
Fix zig caching issue
2022-06-01 15:27:27 +02:00
Anton-4
c372435bc7
update Cargo.lock 2022-06-01 13:42:17 +02:00
Anton-4
4b647fd4b1
Forgot tempfile dependency 2022-06-01 13:40:46 +02:00