Index: test/mjsunit/wasm/import-memory.js |
diff --git a/test/mjsunit/wasm/import-memory.js b/test/mjsunit/wasm/import-memory.js |
index 0918326dec143a271c9434acffa38e9ddef280b9..85f6fbf8c0ad72f60d81b82c26a94c6ef3cbbd59 100644 |
--- a/test/mjsunit/wasm/import-memory.js |
+++ b/test/mjsunit/wasm/import-memory.js |
@@ -188,7 +188,7 @@ load("test/mjsunit/wasm/wasm-module-builder.js"); |
assertEquals(2*kPageSize, memory.buffer.byteLength); |
let builder = new WasmModuleBuilder(); |
builder.addFunction("grow", kSig_i_i) |
- .addBody([kExprGetLocal, 0, kExprGrowMemory]) |
+ .addBody([kExprGetLocal, 0, kExprGrowMemory, kMemoryZero]) |
.exportFunc(); |
builder.addImportedMemory("mine"); |
let instance = builder.instantiate({mine: memory}); |