Chromium Code Reviews| Index: src/arm/lithium-arm.h |
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
| index b45a3e0246fd49dd543ce7fdf0025fe472131598..86fac5240c6848f42331a9617680bd3b0003de35 100644 |
| --- a/src/arm/lithium-arm.h |
| +++ b/src/arm/lithium-arm.h |
| @@ -2335,7 +2335,7 @@ class LOsrEntry: public LTemplateInstruction<0, 0, 0> { |
| // NULL if the register has no assigned spill slot. Indexed by allocation |
| // index. |
| LOperand* register_spills_[Register::kNumAllocatableRegisters]; |
| - LOperand* double_register_spills_[DoubleRegister::kNumAllocatableRegisters]; |
| + LOperand* double_register_spills_[DoubleRegister::kNumRegisters]; |
|
Rodolph Perfetta
2012/12/04 14:08:40
Why not NumAllocatableRegisters()?
hans
2012/12/04 14:30:54
Because the array size has to be a constant.
This
|
| }; |