Index: test/mjsunit/wasm/indirect-calls.js |
diff --git a/test/mjsunit/wasm/indirect-calls.js b/test/mjsunit/wasm/indirect-calls.js |
index 33ea8d7729e3a5bdb9b95bdee8fd922dbcb820c9..28effa831657137eecb3b3a7684358567dc64cbb 100644 |
--- a/test/mjsunit/wasm/indirect-calls.js |
+++ b/test/mjsunit/wasm/indirect-calls.js |
@@ -185,7 +185,7 @@ assertTraps(kTrapFuncInvalid, "module.exports.main(12, 3)"); |
.exportAs("main"); |
builder.setFunctionTableLength(10); |
- var g = builder.addImportedGlobal("fff", "base", kAstI32); |
+ var g = builder.addImportedGlobal("fff", "base", kWasmI32); |
builder.addFunctionTableInit(g, true, [f.mul.index, f.add.index, f.sub.index]); |
var module = new WebAssembly.Module(builder.toBuffer()); |