Index: test/mjsunit/wasm/ffi.js |
diff --git a/test/mjsunit/wasm/ffi.js b/test/mjsunit/wasm/ffi.js |
index 87dfe3bcfdaf1210d753f340e736774aca7ac625..9db8ea6f5585425d728101351c66f741d4f5df57 100644 |
--- a/test/mjsunit/wasm/ffi.js |
+++ b/test/mjsunit/wasm/ffi.js |
@@ -10,7 +10,7 @@ load("test/mjsunit/wasm/wasm-module-builder.js"); |
function testCallFFI(func, check) { |
var builder = new WasmModuleBuilder(); |
- var sig_index = builder.addSignature(kSig_i_dd); |
+ var sig_index = builder.addType(kSig_i_dd); |
builder.addImport("func", sig_index); |
builder.addFunction("main", sig_index) |
.addBody([ |