summaryrefslogtreecommitdiff
path: root/src/wasm2js.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm2js.h')
-rw-r--r--src/wasm2js.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm2js.h b/src/wasm2js.h
index cc2cfa128..1fe5db0c1 100644
--- a/src/wasm2js.h
+++ b/src/wasm2js.h
@@ -326,6 +326,7 @@ Ref Wasm2JSBuilder::processWasm(Module* wasm, Name funcName) {
if (options.optimizeLevel > 0) {
runner.add("remove-unused-names");
runner.add("merge-blocks");
+ runner.add("reorder-locals");
runner.add("coalesce-locals");
}
runner.add("reorder-locals");