summaryrefslogtreecommitdiff
path: root/src/asm2wasm.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-03-15 20:44:05 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-03-15 20:44:05 -0700
commitd588ecdea2b423bc4de22580f20b0647c4100399 (patch)
treea6a9daeefe0136a81064b95076cfeaccccdb9989 /src/asm2wasm.h
parentf156316aebdba6a26eb6cddcef1034612f32e087 (diff)
parente266b793ec120daf77ae2d40407b04d98ba45984 (diff)
downloadbinaryen-d588ecdea2b423bc4de22580f20b0647c4100399.tar.gz
binaryen-d588ecdea2b423bc4de22580f20b0647c4100399.tar.bz2
binaryen-d588ecdea2b423bc4de22580f20b0647c4100399.zip
Merge pull request #246 from WebAssembly/spec-binary
Binary spec stuff
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) {