Index: test/mjsunit/wasm/module-memory.js |
diff --git a/test/mjsunit/wasm/module-memory.js b/test/mjsunit/wasm/module-memory.js |
index fc3f47dc6dcae8e5411c2c4925c879f5d4c3c93d..5a57b9a7720d01e8fdac707ae866fd2f44a7a767 100644 |
--- a/test/mjsunit/wasm/module-memory.js |
+++ b/test/mjsunit/wasm/module-memory.js |
@@ -33,7 +33,7 @@ function genModule(memory) { |
function testPokeMemory() { |
var module = genModule(null); |
- var buffer = module.memory; |
+ var buffer = module.exports.memory; |
var main = module.exports.main; |
assertEquals(kMemSize, buffer.byteLength); |