Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 5ec5d085f7f315c391b24a5068867522c87c2c20..14de00fd60147448a2e4ddaedd0e605b625b32e0 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -533,6 +533,8 @@ struct ControlFlowOptimizationPhase { |
static const char* phase_name() { return "control flow optimization"; } |
void Run(PipelineData* data, Zone* temp_zone) { |
+ SourcePositionTable::Scope pos(data->source_positions(), |
+ SourcePosition::Unknown()); |
ControlFlowOptimizer optimizer(data->jsgraph(), temp_zone); |
optimizer.Optimize(); |
} |
@@ -957,7 +959,7 @@ Handle<Code> Pipeline::GenerateCode() { |
RunPrintAndVerify("Lowered simplified"); |
// Optimize control flow. |
- if (FLAG_turbo_switch) { |
+ if (FLAG_turbo_cf_optimization) { |
Run<ControlFlowOptimizationPhase>(); |
RunPrintAndVerify("Control flow optimized"); |
} |