summaryrefslogtreecommitdiff
path: root/src/asm2wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/asm2wasm.h')
-rw-r--r--src/asm2wasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/asm2wasm.h b/src/asm2wasm.h
index aa59faa2d..c4f73b57a 100644
--- a/src/asm2wasm.h
+++ b/src/asm2wasm.h
@@ -721,6 +721,7 @@ void Asm2WasmBuilder::processAsm(Ref ast) {
wasm.addExport(export_);
}
+ wasm.memory.exportName = MEMORY;
}
Function* Asm2WasmBuilder::processFunction(Ref ast) {