[vm, compiler] Don't use an architecture-specific name for FPU registers in the register allocator.
TEST=ci Change-Id: Id2cc6cf9f3275180692f13226d4198126e12b398 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251149 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
@@ -103,7 +103,7 @@ FlowGraphAllocator::FlowGraphAllocator(const FlowGraph& flow_graph,
|
||||
vreg_count_(flow_graph.max_virtual_register_number()),
|
||||
live_ranges_(flow_graph.max_virtual_register_number()),
|
||||
unallocated_cpu_(),
|
||||
unallocated_xmm_(),
|
||||
unallocated_fpu_(),
|
||||
cpu_regs_(),
|
||||
fpu_regs_(),
|
||||
blocked_cpu_registers_(),
|
||||
@@ -2767,7 +2767,7 @@ void FlowGraphAllocator::CompleteRange(LiveRange* range, Location::Kind kind) {
|
||||
break;
|
||||
|
||||
case Location::kFpuRegister:
|
||||
AddToSortedListOfRanges(&unallocated_xmm_, range);
|
||||
AddToSortedListOfRanges(&unallocated_fpu_, range);
|
||||
break;
|
||||
|
||||
default:
|
||||
@@ -3351,7 +3351,7 @@ void FlowGraphAllocator::AllocateRegisters() {
|
||||
untagged_spill_slots_.Clear();
|
||||
|
||||
PrepareForAllocation(Location::kFpuRegister, kNumberOfFpuRegisters,
|
||||
unallocated_xmm_, fpu_regs_, blocked_fpu_registers_);
|
||||
unallocated_fpu_, fpu_regs_, blocked_fpu_registers_);
|
||||
AllocateUnallocatedRanges();
|
||||
|
||||
GraphEntryInstr* entry = block_order_[0]->AsGraphEntry();
|
||||
|
||||
@@ -317,7 +317,7 @@ class FlowGraphAllocator : public ValueObject {
|
||||
GrowableArray<LiveRange*> live_ranges_;
|
||||
|
||||
GrowableArray<LiveRange*> unallocated_cpu_;
|
||||
GrowableArray<LiveRange*> unallocated_xmm_;
|
||||
GrowableArray<LiveRange*> unallocated_fpu_;
|
||||
|
||||
LiveRange* cpu_regs_[kNumberOfCpuRegisters];
|
||||
LiveRange* fpu_regs_[kNumberOfFpuRegisters];
|
||||
|
||||
Reference in New Issue
Block a user