Index: test/mjsunit/wasm/import-table.js |
diff --git a/test/mjsunit/wasm/import-table.js b/test/mjsunit/wasm/import-table.js |
index c3f8cb97941a03798245415691ca81ce261d0721..ebba0402bba569d40e3799c9a53a8e6c14e67e2f 100644 |
--- a/test/mjsunit/wasm/import-table.js |
+++ b/test/mjsunit/wasm/import-table.js |
@@ -10,7 +10,7 @@ load("test/mjsunit/wasm/wasm-module-builder.js"); |
function testCallImport(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([ |