summaryrefslogtreecommitdiff
path: root/demo/demo.js
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2016-05-06 01:02:04 -0700
committerBen Smith <binji@chromium.org>2016-05-06 01:02:04 -0700
commitdecc58fed3b2de7e952a143b87ccf7e0b38da36c (patch)
tree0353e2a3e777db28ad73fa2bad920397078edada /demo/demo.js
parent5b49663185fbf0e33fdfeacef07e166b98ac1e34 (diff)
downloadwabt-decc58fed3b2de7e952a143b87ccf7e0b38da36c.tar.gz
wabt-decc58fed3b2de7e952a143b87ccf7e0b38da36c.tar.bz2
wabt-decc58fed3b2de7e952a143b87ccf7e0b38da36c.zip
some minor fixes for the emscripten demo
Diffstat (limited to 'demo/demo.js')
-rw-r--r--demo/demo.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/demo/demo.js b/demo/demo.js
index 1547133c..e0a86936 100644
--- a/demo/demo.js
+++ b/demo/demo.js
@@ -119,7 +119,6 @@ function compile(text) {
var jsWriter = new wasm.JSStringWriter();
var logStream = new wasm.Stream(jsWriter.writer);
var options = new wasm.WriteBinaryOptions({logStream: logStream});
- wasm.markUsedBlocks(allocator, script);
wasm.writeBinaryScript(allocator, memoryWriter.base, script, options);
output.textContent = jsWriter.string;
} catch (e) {