| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 10bbe7c1bc6d38e5b962b0646d6465b4b0e811cf..56a7550d20b98056c3a85b174384b16474b72382 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -944,7 +944,9 @@ void Pipeline::AllocateRegisters(const RegisterConfiguration* config,
|
| data->set_compilation_failed();
|
| return;
|
| }
|
| - Run<ReuseSpillSlotsPhase>();
|
| + if (data->register_allocator()->use_spill_ranges()) {
|
| + Run<ReuseSpillSlotsPhase>();
|
| + }
|
| Run<PopulatePointerMapsPhase>();
|
| Run<ConnectRangesPhase>();
|
| Run<ResolveControlFlowPhase>();
|
|
|