Index: test/mjsunit/wasm/indirect-calls.js |
diff --git a/test/mjsunit/wasm/indirect-calls.js b/test/mjsunit/wasm/indirect-calls.js |
index b07ce0d58a8448de9058438318181b5da9c98698..56f2afb8108058192c8d8254396ccd03f590342b 100644 |
--- a/test/mjsunit/wasm/indirect-calls.js |
+++ b/test/mjsunit/wasm/indirect-calls.js |
@@ -27,7 +27,7 @@ var module = (function () { |
kExprGetLocal, 1, |
kExprGetLocal, 2, |
kExprGetLocal, 0, |
- kExprCallIndirect, sig_index |
+ kExprCallIndirect, kTableZero, sig_index |
]) |
.exportFunc() |
builder.appendToTable([1, 2, 3]); |
@@ -71,7 +71,7 @@ module = (function () { |
kExprGetLocal, 1, |
kExprGetLocal, 2, |
kExprGetLocal, 0, |
- kExprCallIndirect, sig_i_ii |
+ kExprCallIndirect, kTableZero, sig_i_ii |
]) |
.exportFunc() |
builder.appendToTable([mul.index, add.index, popcnt.index, main.index]); |
@@ -112,7 +112,7 @@ module = (function () { |
kExprI32Const, 33, // -- |
kExprGetLocal, 0, // -- |
kExprGetLocal, 1, // -- |
- kExprCallIndirect, 0]) // -- |
+ kExprCallIndirect, kTableZero, 0]) // -- |
.exportAs("main"); |
builder.appendToTable([mul.index, add.index, sub.index]); |
@@ -156,7 +156,7 @@ assertTraps(kTrapFuncInvalid, "module.exports.main(12, 3)"); |
kExprI32Const, 33, // -- |
kExprGetLocal, 0, // -- |
kExprGetLocal, 1, // -- |
- kExprCallIndirect, 0]) // -- |
+ kExprCallIndirect, kTableZero, 0]) // -- |
.exportAs("main"); |
builder.setFunctionTableLength(length); |
@@ -210,7 +210,7 @@ assertTraps(kTrapFuncInvalid, "module.exports.main(12, 3)"); |
kExprI32Const, 33, // -- |
kExprGetLocal, 0, // -- |
kExprGetLocal, 1, // -- |
- kExprCallIndirect, 0]) // -- |
+ kExprCallIndirect, kTableZero, 0]) // -- |
.exportAs("main"); |
builder.setFunctionTableLength(10); |