From 23808ad092d409c1022b552eddae8093160fd37e Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 20 Oct 2017 10:01:49 -0700 Subject: 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) --- src/wasm2asm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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(); runner.add("i64-to-i32-lowering"); runner.add("flatten"); + runner.add("simplify-locals-notee-nostructure"); runner.add("vacuum"); runner.setDebug(flags.debug); runner.run(); -- cgit v1.2.3