Fix the type of table bounds in DummyEnvironment.

Also, fix the wasm testsuite harness to run the verifier with a
TargetIsa so that it catches problems like this.
This commit is contained in:
Dan Gohman
2018-09-12 14:38:15 -07:00
parent 52e6b07058
commit d0f703a6ff
2 changed files with 8 additions and 3 deletions

View File

@@ -206,7 +206,7 @@ impl<'dummy_environment> FuncEnvironment for DummyFuncEnvironment<'dummy_environ
let bound_gv = func.create_global_value(ir::GlobalValueData::Load {
base: vmctx,
offset: Offset32::new(0),
global_type: self.pointer_type(),
global_type: I32,
});
func.create_table(ir::TableData {