Files
wasmtime/lib/wasm
Dan Gohman eb439c9a68 Fix legalization of heap_addrs with 32-bit indices. (#480)
This makes several changes:
 - It adds an index_type to heap declarations, allowing heaps to specify the
   type for indexing. This also anticipates 64-bit heap support.

 - It adds a memory_type to deref global values, allowing deref globals to
   have types other than pointers. This is used to allow the bound variable
   in dynamic heaps to have type i32, to match the index type in heaps
   with i32 index type.

 - And, it fixes heap legalization to do the bounds check in the heap's
   index type.
2018-08-28 13:37:33 -07:00
..
2018-08-28 13:23:37 -07:00
2018-07-17 12:48:27 -07:00
2018-07-13 09:15:16 -07:00

This crate performs the translation from a wasm module in binary format to the in-memory form of the Cranelift IR.