Index: test/mjsunit/wasm/module-memory.js |
diff --git a/test/mjsunit/wasm/module-memory.js b/test/mjsunit/wasm/module-memory.js |
index c8d9c6d32309dbfac23b8aa3c29dc1e2f4a62cdd..a5e5f42488aad5c3dc0a9ab9673e2ca3229d1301 100644 |
--- a/test/mjsunit/wasm/module-memory.js |
+++ b/test/mjsunit/wasm/module-memory.js |
@@ -13,7 +13,7 @@ function genModule(memory) { |
var builder = new WasmModuleBuilder(); |
builder.addMemory(1, 1, true); |
- builder.addFunction("main", [kAstI32, kAstI32]) |
+ builder.addFunction("main", kSig_i_i) |
.addBody([ |
// main body: while(i) { if(mem[i]) return -1; i -= 4; } return 0; |
kExprLoop, |
@@ -128,7 +128,7 @@ function testOOBThrows() { |
var builder = new WasmModuleBuilder(); |
builder.addMemory(1, 1, true); |
- builder.addFunction("geti", [kAstI32, kAstI32, kAstI32]) |
+ builder.addFunction("geti", kSig_i_ii) |
.addBody([ |
kExprGetLocal, 0, |
kExprGetLocal, 1, |