Index: test/mjsunit/wasm/instantiate-module-basic.js |
diff --git a/test/mjsunit/wasm/instantiate-module-basic.js b/test/mjsunit/wasm/instantiate-module-basic.js |
index e3e0f4a441318b0b5231aafc57ec3d078d02e80f..a0c11bdaddd3403f2932ef181c16a3dc973c5910 100644 |
--- a/test/mjsunit/wasm/instantiate-module-basic.js |
+++ b/test/mjsunit/wasm/instantiate-module-basic.js |
@@ -12,7 +12,7 @@ |
let buffer = (() => { |
let builder = new WasmModuleBuilder(); |
builder.addMemory(1, 1, true); |
- builder.addFunction("main", kSig_i_v) |
+ builder.addFunction("main", kSig_i) |
.addBody([kExprI8Const, kReturnValue]) |
.exportFunc(); |
@@ -119,7 +119,7 @@ |
builder.addMemory(1,1, true); |
var kSig_v_i = makeSig([kAstI32], []); |
var signature = builder.addType(kSig_v_i); |
- builder.addImport("some_value", kSig_i_v); |
+ builder.addImport("some_value", kSig_i); |
builder.addImport("writer", signature); |
builder.addFunction("main", kSig_i_i) |
@@ -169,7 +169,7 @@ |
(function GlobalsArePrivateToTheInstance() { |
print("GlobalsArePrivateToTheInstance..."); |
var builder = new WasmModuleBuilder(); |
- builder.addGlobal(kAstI32, true); |
+ builder.addGlobal(kAstI32); |
builder.addFunction("read", kSig_i_v) |
.addBody([ |
kExprGetGlobal, 0]) |
@@ -196,7 +196,7 @@ |
var builder = new WasmModuleBuilder(); |
builder.addMemory(1,1, true); |
- builder.addFunction("f", kSig_i_v) |
+ builder.addFunction("f", kSig_i) |
.addBody([ |
kExprI32Const, 0, |
kExprI32LoadMem, 0, 0 |