Merge "Don't run optimizations after baseline."
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc
index d8533eb..34485a3 100644
--- a/compiler/optimizing/optimizing_compiler.cc
+++ b/compiler/optimizing/optimizing_compiler.cc
@@ -319,20 +319,6 @@
     unoptimized_compiled_methods_++;
     codegen->CompileBaseline(&allocator);
 
-    if (CanOptimize(*code_item)) {
-      // Run these phases to get some test coverage.
-      graph->BuildDominatorTree();
-      graph->TransformToSSA();
-      visualizer.DumpGraph("ssa");
-      graph->FindNaturalLoops();
-      SsaRedundantPhiElimination(graph).Run();
-      SsaDeadPhiElimination(graph).Run();
-      GVNOptimization(graph).Run();
-      SsaLivenessAnalysis liveness(*graph, codegen);
-      liveness.Analyze();
-      visualizer.DumpGraph(kLivenessPassName);
-    }
-
     std::vector<uint8_t> mapping_table;
     SrcMap src_mapping_table;
     codegen->BuildMappingTable(&mapping_table,