Index: test/mjsunit/wasm/ffi-error.js |
diff --git a/test/mjsunit/wasm/ffi-error.js b/test/mjsunit/wasm/ffi-error.js |
index aca5123d3bec699edd950cb0861f83bd02cb78f8..8242a3e82cba5ad5d6c98aa2f8055f54a1616499 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(); |
@@ -89,7 +89,7 @@ assertThrows(function() { |
.addBody([ |
kExprGetLocal, 0, |
kExprI64SConvertI32, |
- kExprCallImport, kArity1, index // -- |
+ kExprCallFunction, index // -- |
]) // -- |
.exportFunc(); |
var func = function() {return {};}; |