diff options
author | Alon Zakai <alonzakai@gmail.com> | 2017-10-20 10:01:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-20 10:01:49 -0700 |
commit | 23808ad092d409c1022b552eddae8093160fd37e (patch) | |
tree | 0d7ac01a84f6127af36389746cfd7db814ee1067 /src/wasm2asm.h | |
parent | b66518f2300ed1a9c28f983cbbfb377dcb8502a8 (diff) | |
download | binaryen-23808ad092d409c1022b552eddae8093160fd37e.tar.gz binaryen-23808ad092d409c1022b552eddae8093160fd37e.tar.bz2 binaryen-23808ad092d409c1022b552eddae8093160fd37e.zip |
use simplify-locals in wasm2asm, so the output is not horribly verbose with los of extra inefficient variables. this is more similar to the output we had before the flatten rewrite (#1229)
Diffstat (limited to 'src/wasm2asm.h')
-rw-r--r-- | src/wasm2asm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm2asm.h b/src/wasm2asm.h index 5d0058f26..028e4d4d5 100644 --- a/src/wasm2asm.h +++ b/src/wasm2asm.h @@ -387,6 +387,7 @@ Ref Wasm2AsmBuilder::processWasm(Module* wasm) { runner.add<AutoDrop>(); runner.add("i64-to-i32-lowering"); runner.add("flatten"); + runner.add("simplify-locals-notee-nostructure"); runner.add("vacuum"); runner.setDebug(flags.debug); runner.run(); |