Chromium Code Reviews| 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..a913991eb8fbd3f1c3b5206650d7ba401eef0bbf 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 = |
|
Vyacheslav Egorov (Google)
2013/04/03 14:25:45
you can kill this variable. it serves no purpose n
Cutch
2013/04/04 22:24:06
It makes the for loop on line 423 easier to read a
|
| + FlowGraphAllocator::kFpuRegisterSpillFactor; |
| for (intptr_t i = kNumberOfFpuRegisters - 1; i >= 0; --i) { |
| FpuRegister reg = static_cast<FpuRegister>(i); |
| if (regs->ContainsFpuRegister(reg)) { |