diff options
author | Alon Zakai <alonzakai@gmail.com> | 2017-03-06 15:02:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-06 15:02:11 -0800 |
commit | a452f92aeb96e9617a20146503720cd5acb64f29 (patch) | |
tree | 89f057eff085abdd16123fe9a2794e7911634eb0 /src/asm2wasm.h | |
parent | 8968a50fd4248860cc79ee20eabf4071336f0481 (diff) | |
download | binaryen-a452f92aeb96e9617a20146503720cd5acb64f29.tar.gz binaryen-a452f92aeb96e9617a20146503720cd5acb64f29.tar.bz2 binaryen-a452f92aeb96e9617a20146503720cd5acb64f29.zip |
stop doing dce in -O0, which was just need temporarily while browsers figure out the spec (#932)
Diffstat (limited to 'src/asm2wasm.h')
-rw-r--r-- | src/asm2wasm.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/asm2wasm.h b/src/asm2wasm.h index b952521ae..daf4d9af1 100644 --- a/src/asm2wasm.h +++ b/src/asm2wasm.h @@ -1248,9 +1248,6 @@ void Asm2WasmBuilder::processAsm(Ref ast) { passRunner.add<ApplyDebugInfo>(this); passRunner.add("vacuum"); // FIXME maybe just remove the nops that were debuginfo nodes, if not optimizing? } - // make sure to not emit unreachable code at all, even in -O0, as wasm rules for it are complex - // and changing. - passRunner.add("dce"); passRunner.run(); // remove the debug info intrinsic |