| Index: runtime/vm/flow_graph_compiler.cc
|
| diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc
|
| index 791412daccbd29b1b81d6e769e9e4ebfb8950a81..55add2450e04d880b06938a28cc4d9eec7e2d342 100644
|
| --- a/runtime/vm/flow_graph_compiler.cc
|
| +++ b/runtime/vm/flow_graph_compiler.cc
|
| @@ -415,7 +415,8 @@ void FlowGraphCompiler::RecordSafepoint(LocationSummary* locs) {
|
| //
|
| // FPU registers have the highest register number at the highest
|
| // address (i.e., first in the stackmap).
|
| - const intptr_t kFpuRegisterSpillFactor = kFpuRegisterSize / kWordSize;
|
| + const intptr_t kFpuRegisterSpillFactor =
|
| + FlowGraphAllocator::kFpuRegisterSpillFactor;
|
| for (intptr_t i = kNumberOfFpuRegisters - 1; i >= 0; --i) {
|
| FpuRegister reg = static_cast<FpuRegister>(i);
|
| if (regs->ContainsFpuRegister(reg)) {
|
|
|