Files
wasmtime/crates
Peter Huene 5beb81d02a Change how Instance stores instantiated memories in the runtime.
This commit changes `Instance` such that memories can be stored statically,
with just a base pointer, size, maximum, and a callback to make memory
accessible.

Previously the memories were being stored as boxed trait objects, which would
require the pooling allocator to do some unpleasant things to avoid
allocations.

With this change, the pooling allocator can simply define a memory for the
instance without using a trait object.
2021-03-04 18:18:51 -08:00
..
2021-03-01 16:39:20 -06:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-01 16:39:20 -06:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00
2021-03-04 18:17:03 -08:00