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..ecc88c05e7e6548742a242dda9d5d2dbed3feec3 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, kTableZero, sig_index, |
kExprEnd, |
]) |
.exportAs("main"); |