wasmi/src
Sergey Pepyakin f6657bace4
Flat Stack (#98)
* Define Instruction Set.

* WIP

* WIP 2

* Tests

* Working

* Bunch of other tests.

* WIP

* WIP

* Use Vec instead of VecDeque.

* Calibrate the limits.

* Clean

* Clean

* Another round of cleaning.

* Ignore traces.

* Optimize value stack

* Optimize a bit more.

* Cache memory index.

* Inline always instruction dispatch function.

* Comments.

* Clean

* Clean

* Use vector to keep unresolved references.

* Estimate resulting size.

* do refactoring

* Validate the locals count in the begging

* Introduce Keep and DropKeep structs in isa

* Rename/Split Validator into Reader

* Document stack layout

* Remove println!

* Fix typo.

* Use .last / .last_mut in stack

* Update docs for BrTable.

* Review fixes.

* Merge.

* Add an assert that stack is empty after the exec
2018-07-04 10:08:45 +03:00
..
bin Add `instantiate` bin (#53) 2018-02-14 13:36:27 +03:00
common Flat Stack (#98) 2018-07-04 10:08:45 +03:00
tests Use transmute instead of casts In RuntimeValue conversion. (#102) 2018-06-21 15:47:49 +03:00
validation Flat Stack (#98) 2018-07-04 10:08:45 +03:00
func.rs Flat Stack (#98) 2018-07-04 10:08:45 +03:00
global.rs Minor fixes in docs (#38) 2018-02-06 23:10:58 +03:00
host.rs Args refactor (#71) 2018-03-14 01:23:12 +03:00
imports.rs Minor fixes in docs (#38) 2018-02-06 23:10:58 +03:00
isa.rs Flat Stack (#98) 2018-07-04 10:08:45 +03:00
lib.rs Flat Stack (#98) 2018-07-04 10:08:45 +03:00
memory.rs Provide direct access to the underlying buffer (#91) 2018-05-31 16:01:15 +02:00
module.rs Flat Stack (#98) 2018-07-04 10:08:45 +03:00
runner.rs Flat Stack (#98) 2018-07-04 10:08:45 +03:00
table.rs Add docs (#32) 2018-02-01 19:46:33 +03:00
types.rs Publish with externvals (#81) 2018-03-29 18:43:44 +03:00
value.rs implement from and into RuntimeValue for i8, u8, i16 and u16 (#104) 2018-06-25 16:59:30 +03:00