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