Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index b429120487238c5aa30cbad761c255bb8e0b4646..ea4fef8a710f0a839e6d32b02829f4c22228a55e 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -1801,19 +1801,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); |
- DECLARE_CONCRETE_INSTRUCTION(InnerAllocatedObject, "sub-allocated-object") |
- DECLARE_HYDROGEN_ACCESSOR(InnerAllocatedObject) |
+ DECLARE_CONCRETE_INSTRUCTION(InnerAllocatedObject, "inner-allocated-object") |
}; |