| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 5a2b9584b96d1fca5900709c19656c5158d4f127..b19b05b2e7ec7733a85a787e2171a76ee50475ca 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -988,13 +988,14 @@ struct AllocateGeneralRegistersPhase {
|
| }
|
| };
|
|
|
| -
|
| template <typename RegAllocator>
|
| -struct AllocateDoubleRegistersPhase {
|
| - static const char* phase_name() { return "allocate double registers"; }
|
| +struct AllocateFPRegistersPhase {
|
| + static const char* phase_name() {
|
| + return "allocate floating point registers";
|
| + }
|
|
|
| void Run(PipelineData* data, Zone* temp_zone) {
|
| - RegAllocator allocator(data->register_allocation_data(), DOUBLE_REGISTERS,
|
| + RegAllocator allocator(data->register_allocation_data(), FP_REGISTERS,
|
| temp_zone);
|
| allocator.AllocateRegisters();
|
| }
|
| @@ -1550,10 +1551,10 @@ void Pipeline::AllocateRegisters(const RegisterConfiguration* config,
|
|
|
| if (FLAG_turbo_greedy_regalloc) {
|
| Run<AllocateGeneralRegistersPhase<GreedyAllocator>>();
|
| - Run<AllocateDoubleRegistersPhase<GreedyAllocator>>();
|
| + Run<AllocateFPRegistersPhase<GreedyAllocator>>();
|
| } else {
|
| Run<AllocateGeneralRegistersPhase<LinearScanAllocator>>();
|
| - Run<AllocateDoubleRegistersPhase<LinearScanAllocator>>();
|
| + Run<AllocateFPRegistersPhase<LinearScanAllocator>>();
|
| }
|
|
|
| if (FLAG_turbo_preprocess_ranges) {
|
|
|