Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index 19e26ba383d01ed3aa1c922d76a528c5cb8f318a..cfafc0645a099d26fe7d117f35254ec93ded51db 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -1798,19 +1798,19 @@ class LStoreCodeEntry V8_FINAL: public LTemplateInstruction<0, 1, 1> { |
}; |
-class LInnerAllocatedObject V8_FINAL: public LTemplateInstruction<1, 1, 0> { |
+class LInnerAllocatedObject V8_FINAL: public LTemplateInstruction<1, 2, 0> { |
public: |
- explicit LInnerAllocatedObject(LOperand* base_object) { |
+ LInnerAllocatedObject(LOperand* base_object, LOperand* offset) { |
inputs_[0] = base_object; |
+ inputs_[1] = offset; |
} |
- LOperand* base_object() { return inputs_[0]; } |
- int offset() { return hydrogen()->offset(); } |
+ LOperand* base_object() const { return inputs_[0]; } |
+ LOperand* offset() const { return inputs_[1]; } |
virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
- DECLARE_CONCRETE_INSTRUCTION(InnerAllocatedObject, "sub-allocated-object") |
- DECLARE_HYDROGEN_ACCESSOR(InnerAllocatedObject) |
+ DECLARE_CONCRETE_INSTRUCTION(InnerAllocatedObject, "inner-allocated-object") |
}; |