aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Transforms/NaCl/PNaClABISimplify.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/NaCl/PNaClABISimplify.cpp b/lib/Transforms/NaCl/PNaClABISimplify.cpp
index 5689556f21..1cde8897f2 100644
--- a/lib/Transforms/NaCl/PNaClABISimplify.cpp
+++ b/lib/Transforms/NaCl/PNaClABISimplify.cpp
@@ -150,7 +150,9 @@ void llvm::PNaClABISimplifyAddPostOptPasses(PassManager &PM) {
// Eliminate simple dead code that the post-opt passes could have
// created.
+#if 0 // EMSCRIPTEN: There's no point in running this since we're running DeadCodeElimination right after.
PM.add(createDeadInstEliminationPass());
+#endif
PM.add(createDeadCodeEliminationPass());
PM.add(createExpandI64Pass()); // EMSCRIPTEN // FIXME: move this before the dce stuff here