Index: test/mjsunit/wasm/ffi-error.js |
diff --git a/test/mjsunit/wasm/ffi-error.js b/test/mjsunit/wasm/ffi-error.js |
index 6d4787e70abba5fd1333a31e0581975e90154f0d..100f501af4817fa1386c49b60a7d203ebfdea873 100644 |
--- a/test/mjsunit/wasm/ffi-error.js |
+++ b/test/mjsunit/wasm/ffi-error.js |
@@ -16,7 +16,7 @@ |
.addBody([ |
kExprGetLocal, 0, // -- |
kExprGetLocal, 1, // -- |
- kExprCallFunction, 0, // -- |
+ kExprCallFunction, kArity2, 0, // -- |
]) // -- |
.exportFunc(); |
@@ -106,7 +106,7 @@ |
.addBody([ |
kExprGetLocal, 0, |
kExprI64SConvertI32, |
- kExprCallFunction, index // -- |
+ kExprCallImport, kArity1, index // -- |
]) // -- |
.exportFunc(); |
var func = function() {return {};}; |