Mats Sigge
|
71f359fbdc
|
Move macros from roc_reporting to new roc_error_macros module
The `internal_error!` and `user_error!´ macros can't be used everywhere
when they live in `roc_reporting` due to circular dependencies.
|
2022-01-23 18:40:04 +01:00 |
|
Brian Carroll
|
9290d3ad5c
|
Wasm: Clarify where magic constant 5 comes from
|
2022-01-15 15:35:42 +00:00 |
|
Brian Carroll
|
f4137013cb
|
Wasm: tweaks from self-review
|
2022-01-14 18:50:52 +00:00 |
|
Brian Carroll
|
4311b5a410
|
Wasm: Make dead functions unreachable , and the same for all return types
|
2022-01-14 18:21:13 +00:00 |
|
Brian Carroll
|
9dabc2db15
|
Wasm: adjust dead code elimination to account for import function indices
|
2022-01-14 18:20:52 +00:00 |
|
Brian Carroll
|
7a4593170c
|
Wasm: reuse existing SkipBytes code for opcodes
|
2022-01-14 18:20:52 +00:00 |
|
Brian Carroll
|
8a384ffa88
|
Wasm: parse just enough of the Import section to count functions
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
f9fbe461d1
|
Wasm: Fix section parsing bug
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
3067358a33
|
Wasm: test for LEB-128 decoder
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
9c0abcd0da
|
Wasm: Preload WasmModule from object file bytes
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
5a39002e8b
|
Wasm: Serialize WasmModule without linking info
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
fc677e8d58
|
Wasm: add preloading logic for Types section
|
2022-01-10 10:26:43 +00:00 |
|
Brian Carroll
|
01b47a2ec7
|
Add inline directives to ensure unit placeholders are optimised away
|
2021-11-05 12:11:37 +00:00 |
|
Brian Carroll
|
c57d99c1ac
|
Create types for DataSection
|
2021-11-04 18:58:17 +00:00 |
|
Brian Carroll
|
ad9b761fce
|
Move wasm file format code into a submodule
|
2021-11-03 11:20:16 +00:00 |
|