Index: test/mjsunit/wasm/trap-location.js |
diff --git a/test/mjsunit/wasm/trap-location.js b/test/mjsunit/wasm/trap-location.js |
index 63573cf7407cb170b80b4ace68032824eb6a7f46..5e1458422468d9f5e7d4683007a59a1e4647834e 100644 |
--- a/test/mjsunit/wasm/trap-location.js |
+++ b/test/mjsunit/wasm/trap-location.js |
@@ -56,6 +56,7 @@ builder.addFunction("main", kSig_i_i) |
kExprEnd, |
]) |
.exportAs("main"); |
+builder.appendToTable([0]); |
var module = builder.instantiate(); |