Brian Carroll
|
9d912a6cc7
|
wasm_interp: don't panic when unwrapping Value
|
2022-12-06 20:19:25 +00:00 |
|
Brian Carroll
|
d5cc4b19f8
|
wasm_module: add a deb_hex! macro
|
2022-11-28 08:24:34 +00:00 |
|
Brian Carroll
|
8e15d49720
|
wasm_interp: use Value::from in more places
|
2022-11-27 21:00:52 +00:00 |
|
Brian Carroll
|
78fbc75249
|
wasm_interp: neater creation of Value from unsigned integers
|
2022-11-27 20:53:12 +00:00 |
|
Brian Carroll
|
a09fd95fd7
|
wasm_interp: pass arguments from CLI
|
2022-11-26 09:10:35 +00:00 |
|
Brian Carroll
|
d9fe907684
|
wasm_module: create const ValueType::VOID to use as block type
|
2022-11-26 00:38:41 +00:00 |
|
Brian Carroll
|
598e62275d
|
wasm_interp: implement store instructions
|
2022-11-25 15:41:11 +00:00 |
|
Brian Carroll
|
60a671362f
|
wasm_interp: Create a CLI to run .wasm files
|
2022-11-25 00:14:44 +00:00 |
|
Brian Carroll
|
235c238e36
|
Move Value from wasm_interp to wasm_module & create GlobalSection::initial_values
|
2022-11-24 16:43:31 +00:00 |
|
Brian Carroll
|
972d9dbb19
|
wasm_interp: implement call and return instructions
|
2022-11-24 16:43:31 +00:00 |
|
Brian Carroll
|
26cce05bbe
|
wasm_module: create WasmModule::new for testing
|
2022-11-21 19:54:48 +00:00 |
|
Brian Carroll
|
29baa45774
|
debug generated linker data for Roc->JS calls
|
2022-11-17 21:26:33 +00:00 |
|
Brian Carroll
|
24e6e8445d
|
Remove the trick of pushing an extra N+1 entry to function_offsets. It's bug-prone.
|
2022-11-17 07:49:38 +00:00 |
|
Brian Carroll
|
0c81063c68
|
Fix dummy function replacement
|
2022-11-16 21:25:53 +00:00 |
|
Brian Carroll
|
24cef94fb5
|
Fix Wasm dummy function
|
2022-11-16 20:34:38 +00:00 |
|
Brian Carroll
|
e57ca0aa12
|
Remove "Roc host" specifics from Wasm dead code elimination
|
2022-11-16 08:07:22 +00:00 |
|
Brian Carroll
|
4dea82b2f5
|
Move code_builder from wasm_module to gen_wasm
|
2022-11-14 09:18:53 +00:00 |
|
Brian Carroll
|
c8f949d546
|
Temporarily copy DEBUG_SETTINGS into wasm_module crate
|
2022-11-13 09:19:55 +00:00 |
|
Brian Carroll
|
2e67bdf4d0
|
Move some wasm constants and macros
|
2022-11-13 09:03:26 +00:00 |
|
Brian Carroll
|
63d9187343
|
move wasm_module out of gen_wasm
|
2022-11-13 09:03:08 +00:00 |
|