diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-10-29 17:55:50 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-10-29 17:55:50 -0700 |
commit | c9b8b17f6f5d01511bcfd511bfda28584533b467 (patch) | |
tree | ed4151f489f405e55068ed3494c5b685d04c0278 /src | |
parent | 891de7b9f3c173095b0e09d0f9069c14c6bd2bc4 (diff) | |
download | binaryen-c9b8b17f6f5d01511bcfd511bfda28584533b467.tar.gz binaryen-c9b8b17f6f5d01511bcfd511bfda28584533b467.tar.bz2 binaryen-c9b8b17f6f5d01511bcfd511bfda28584533b467.zip |
print a memory section
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h index 40d9a126e..d8cada7f5 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -796,6 +796,8 @@ public: unsigned indent = 0; printOpening(o, "module", true); incIndent(o, indent); + doIndent(o, indent); + printOpening(o, "memory") << " 16777216)\n"; // XXX for (auto& curr : functionTypes) { doIndent(o, indent); curr.second->print(o, indent, true); |