FIx bugs found with spectests.

This commit is contained in:
losfair
2019-03-14 10:30:24 +08:00
parent 179bbf9e41
commit d80ea47ffc
2 changed files with 237 additions and 11 deletions

View File

@ -23,7 +23,7 @@ pub struct Ctx {
pub globals: *mut *mut LocalGlobal,
/// A pointer to an array of imported memories, indexed by `MemoryIndex,
pub(crate) imported_memories: *mut *mut LocalMemory,
pub imported_memories: *mut *mut LocalMemory,
/// A pointer to an array of imported tables, indexed by `TableIndex`.
pub imported_tables: *mut *mut LocalTable,