From a452f92aeb96e9617a20146503720cd5acb64f29 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 6 Mar 2017 15:02:11 -0800 Subject: stop doing dce in -O0, which was just need temporarily while browsers figure out the spec (#932) --- src/asm2wasm.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') 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(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 -- cgit v1.2.3