Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index d22d237f07aa109e193f961f5b13ab0bb239ac49..9a5f5d2dfdf4eac5e225a9c6c0b4313c93e999e2 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -1417,10 +1417,6 @@ bool PipelineImpl::CreateGraph() { |
// Select representations. |
Run<RepresentationSelectionPhase>(); |
RunPrintAndVerify("Representations selected"); |
- |
- // Run early optimization pass. |
- Run<EarlyOptimizationPhase>(); |
- RunPrintAndVerify("Early optimized", true); |
} |
#ifdef DEBUG |
@@ -1440,6 +1436,10 @@ bool PipelineImpl::CreateGraph() { |
RunPrintAndVerify("Untyped", true); |
#endif |
+ // Run early optimization pass. |
+ Run<EarlyOptimizationPhase>(); |
+ RunPrintAndVerify("Early optimized", true); |
+ |
data->EndPhaseKind(); |
return true; |