summaryrefslogtreecommitdiff
path: root/demo/wat2wasm/demo.js
diff options
context:
space:
mode:
Diffstat (limited to 'demo/wat2wasm/demo.js')
-rw-r--r--demo/wat2wasm/demo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/wat2wasm/demo.js b/demo/wat2wasm/demo.js
index 3b39ee3a..69876a43 100644
--- a/demo/wat2wasm/demo.js
+++ b/demo/wat2wasm/demo.js
@@ -82,7 +82,7 @@ function compile() {
var module = wabt.parseWat('test.wast', watEditor.getValue());
module.resolveNames();
module.validate();
- var binaryOutput = module.toBinary({log: true});
+ var binaryOutput = module.toBinary({log: true, write_debug_names:true});
outputEl.textContent = binaryOutput.log;
binaryBuffer = binaryOutput.buffer;
var blob = new Blob([binaryOutput.buffer]);