Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index 678d07740bb0f36099800424eb8e134d3a55a5e8..ec34d776a714dcbe9b6c918d29108b653676a071 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -253,6 +253,11 @@ class LInstruction: public ZoneObject { |
void MarkAsCall() { is_call_ = true; } |
// Interface to the register allocator and iterators. |
+ bool ClobbersTemps() const { return is_call_; } |
+ bool ClobbersRegisters() const { return is_call_; } |
+ bool ClobbersDoubleRegisters() const { return is_call_; } |
+ |
+ // Interface to the register allocator and iterators. |
bool IsMarkedAsCall() const { return is_call_; } |
virtual bool HasResult() const = 0; |
@@ -2292,8 +2297,9 @@ class LOsrEntry: public LTemplateInstruction<0, 0, 0> { |
// slot, i.e., that must also be restored to the spill slot on OSR entry. |
// 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* register_spills_[Register::kMaxNumAllocatableRegisters]; |
+ LOperand* double_register_spills_[ |
+ DoubleRegister::kMaxNumAllocatableRegisters]; |
}; |