wasmi/spec
Sergey Pepyakin c96735d6d6 Wasm function can only trap (#29)
* Introduce Trap struct.

* get_local can't fail.

* Add MemoryOutOfBounds trap.

* from_little_endian use slice instead of vec.

* MemoryAccessOutOfBounds for mem get and set.

* from_little_endian conversion can't fail.

* call_indirect traps.

* DivisionByZero and InvalidConversionToInt

* Use traps in value to convey an error

* select: int condition on stack top

* if: int condition on stack top

* Assert pops.

* Another protions of assert pops

* Introduce ValueStack

Also, hide FunctionContext and remove some stale code

* Traps in execution

* Make it compile.

* Check args before invoke.

* Document RuntimeArgs.

* Update host.rs

* Add rustdoc for Trap.
2018-02-01 14:59:21 +03:00
..
src Wasm function can only trap (#29) 2018-02-01 14:59:21 +03:00
wabt@1e5b546c65 Add spec tests. 2018-01-22 17:55:43 +03:00
Cargo.toml Rename parity-wasm-interp to wasmi. 2018-01-22 17:58:14 +03:00
build.rs Add spec tests. 2018-01-22 17:55:43 +03:00