Index: test/mjsunit/wasm/stackwalk.js |
diff --git a/test/mjsunit/wasm/stackwalk.js b/test/mjsunit/wasm/stackwalk.js |
index 8b8fb7e4d47aebf4e8587568c63107f928189b27..0e6f5222d4a8483dff6a3c6cab848b6d3399472e 100644 |
--- a/test/mjsunit/wasm/stackwalk.js |
+++ b/test/mjsunit/wasm/stackwalk.js |
@@ -14,9 +14,10 @@ function makeFFI(func) { |
builder.addImport("func", sig_index); |
builder.addFunction("main", sig_index) |
.addBody([ |
- kExprCallImport, 0, // -- |
- kExprGetLocal, 0, // -- |
- kExprGetLocal, 1]) // -- |
+ kExprGetLocal, 0, // -- |
+ kExprGetLocal, 1, // -- |
+ kExprCallImport, kArity2, 0, // -- |
+ ]) |
.exportFunc() |
return builder.instantiate({func: func}).exports.main; |