Ali Mohammad Pur
|
b538e15548
|
LibWasm: Give traps a reason and display it when needed
This makes debugging wasm code a bit easier, as we now know what fails
instead of just "too bad, something went wrong".
|
2021-07-02 04:53:01 +04:30 |
|
Ali Mohammad Pur
|
c4b82ace74
|
LibWasm: Limit the call stack depth and the number of executed insts
These limits are described in the spec, and we're supposed to stop
execution at some point.
The limits are arbitrarily chosen.
|
2021-06-22 00:26:25 +04:30 |
|
Ali Mohammad Pur
|
9971d13844
|
LibWasm: Trap if a non-Value is used as a Value
Otherwise we'd just crash, which is not a good thing
|
2021-06-22 00:26:25 +04:30 |
|
Ali Mohammad Pur
|
45710d0724
|
LibWasm: Implement saturating float truncation instructions
With these, the only remaining unimplemented instructions are the
following:
- memory.init
- data.drop
- memory.copy
- memory.fill
- table.init
- elem.drop
- table.copy
- table.grow
- table.size
- table.fill
|
2021-06-09 23:05:32 +04:30 |
|
Ali Mohammad Pur
|
3a44011cd4
|
LibWasm: Implement sign extension instructions
|
2021-06-09 23:05:32 +04:30 |
|
Ali Mohammad Pur
|
a4c4dd928b
|
LibWasm: Implement spec-compliant float min/max ops
|
2021-06-09 23:05:32 +04:30 |
|
Sahan Fernando
|
d02e7b3811
|
LibWasm: Move Wasm::BytecodeInterpreter into its own header
|
2021-06-05 14:31:54 +04:30 |
|