Index: test/mjsunit/wasm/wasm-module-builder.js |
diff --git a/test/mjsunit/wasm/wasm-module-builder.js b/test/mjsunit/wasm/wasm-module-builder.js |
index 453e1ff90b3c4ded62543ee5eeca61e6077870b7..48ce48808c89a2611d32024e0f84e8d4baab575b 100644 |
--- a/test/mjsunit/wasm/wasm-module-builder.js |
+++ b/test/mjsunit/wasm/wasm-module-builder.js |
@@ -547,9 +547,9 @@ class WasmModuleBuilder { |
return buffer; |
} |
- instantiate(...args) { |
+ instantiate(ffi) { |
let module = new WebAssembly.Module(this.toBuffer()); |
- let instance = new WebAssembly.Instance(module, ...args); |
+ let instance = new WebAssembly.Instance(module, ffi); |
return instance; |
} |
} |