summaryrefslogtreecommitdiff
path: root/src/s2wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s2wasm.h')
-rw-r--r--src/s2wasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h
index 2744bafc9..eeff5ba04 100644
--- a/src/s2wasm.h
+++ b/src/s2wasm.h
@@ -1187,6 +1187,7 @@ class S2WasmBuilder {
// of initial and max
wasm.memory.initial = ((initialMemory + Memory::kPageSize - 1) & Memory::kPageMask) /
Memory::kPageSize;
+ wasm.memory.exportName = MEMORY;
// XXX For now, export all functions marked .globl.
for (Name name : globls) {