summaryrefslogtreecommitdiff
path: root/src/wasm-as.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-as.cpp')
-rw-r--r--src/wasm-as.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm-as.cpp b/src/wasm-as.cpp
index 4ebb26639..48ec0fc4c 100644
--- a/src/wasm-as.cpp
+++ b/src/wasm-as.cpp
@@ -52,8 +52,8 @@ int main(int argc, const char *argv[]) {
SExpressionWasmBuilder builder(wasm, *root[0], [&]() { abort(); });
if (options.debug) std::cerr << "binarification..." << std::endl;
- BufferWithRandomAccess buffer;
- WasmBinaryWriter writer(&wasm, buffer);
+ BufferWithRandomAccess buffer(options.debug);
+ WasmBinaryWriter writer(&wasm, buffer, options.debug);
writer.write();
if (options.debug) std::cerr << "writing to output..." << std::endl;