Index: test/mjsunit/wasm/memory-size.js |
diff --git a/test/mjsunit/wasm/memory-size.js b/test/mjsunit/wasm/memory-size.js |
index bd747176a8de56319f1d612c0983a5a338d70c8b..0c96efb798a196f5cc8cf3291d68b27aed1d7b19 100644 |
--- a/test/mjsunit/wasm/memory-size.js |
+++ b/test/mjsunit/wasm/memory-size.js |
@@ -10,6 +10,7 @@ load("test/mjsunit/wasm/wasm-module-builder.js"); |
(function testMemorySizeZero() { |
print("testMemorySizeZero()"); |
var builder = new WasmModuleBuilder(); |
+ builder.addMemory(0, 0, false); |
builder.addFunction("memory_size", kSig_i_v) |
.addBody([kExprMemorySize, kMemoryZero]) |
.exportFunc(); |