| Index: test/mjsunit/wasm/calls.js
|
| diff --git a/test/mjsunit/wasm/calls.js b/test/mjsunit/wasm/calls.js
|
| index 59607d454dbeac02c24a5820a2e14aac22a159f6..94e97e6995b203c8fe2e91d9feaba595f1b1feba 100644
|
| --- a/test/mjsunit/wasm/calls.js
|
| +++ b/test/mjsunit/wasm/calls.js
|
| @@ -45,7 +45,7 @@ function assertFunction(module, func) {
|
| var builder = new WasmModuleBuilder();
|
|
|
| builder.addMemory(1, 1, true);
|
| - builder.addFunction("sub", [kAstI64, kAstI64, kAstI64])
|
| + builder.addFunction("sub", kSig_l_ll)
|
| .addBody([ // --
|
| kExprGetLocal, 0, // --
|
| kExprGetLocal, 1, // --
|
| @@ -67,7 +67,7 @@ function assertFunction(module, func) {
|
| var builder = new WasmModuleBuilder();
|
|
|
| builder.addMemory(1, 1, true);
|
| - builder.addFunction("sub", [kAstI32, kAstI32, kAstI32])
|
| + builder.addFunction("sub", kSig_i_ii)
|
| .addBody([
|
| kExprGetLocal, 0, // --
|
| kExprGetLocal, 1, // --
|
| @@ -92,7 +92,7 @@ function assertFunction(module, func) {
|
|
|
| var kPages = 2;
|
| builder.addMemory(kPages, kPages, true);
|
| - builder.addFunction("nop", [kAstStmt])
|
| + builder.addFunction("nop", kSig_v_v)
|
| .addBody([kExprNop])
|
| .exportFunc();
|
|
|
| @@ -109,7 +109,7 @@ function assertFunction(module, func) {
|
|
|
| var kPages = 3;
|
| builder.addMemory(kPages, kPages, true);
|
| - builder.addFunction("flt", [kAstI32, kAstF64, kAstF64])
|
| + builder.addFunction("flt", kSig_i_dd)
|
| .addBody([
|
| kExprGetLocal, 0, // --
|
| kExprGetLocal, 1, // --
|
|
|