Index: test/mjsunit/wasm/trap-location.js |
diff --git a/test/mjsunit/wasm/trap-location.js b/test/mjsunit/wasm/trap-location.js |
index bc8214f9b2267307b310fdf2806552ca614d4eb1..63573cf7407cb170b80b4ace68032824eb6a7f46 100644 |
--- a/test/mjsunit/wasm/trap-location.js |
+++ b/test/mjsunit/wasm/trap-location.js |
@@ -52,7 +52,7 @@ builder.addFunction("main", kSig_i_i) |
kExprEnd, |
// offset 30 |
kExprGetLocal, 0, |
- kExprCallIndirect, sig_index, |
+ kExprCallIndirect, sig_index, kTableZero, |
kExprEnd, |
]) |
.exportAs("main"); |