| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 5515babdcaa5465c22cdb80ebe0bec31c3a63575..955e5674a35a4620f0d3ef5beef6bb137b616b2c 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -1049,7 +1049,9 @@ void Pipeline::AllocateRegisters(const RegisterConfiguration* config,
|
| Run<PopulatePointerMapsPhase>();
|
| Run<ConnectRangesPhase>();
|
| Run<ResolveControlFlowPhase>();
|
| - Run<OptimizeMovesPhase>();
|
| + if (FLAG_turbo_move_optimization) {
|
| + Run<OptimizeMovesPhase>();
|
| + }
|
|
|
| if (FLAG_trace_turbo_graph) {
|
| OFStream os(stdout);
|
|
|