Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index ca8b493496942ecb979125baa208f347219520cf..f49e8ce4f8a0b114e36f1142609555ea01d8010b 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -191,7 +191,8 @@ class LCodeGen; |
V(LoadFieldByIndex) \ |
V(DateField) \ |
V(WrapReceiver) \ |
- V(Drop) |
+ V(Drop) \ |
+ V(InnerAllocatedObject) |
#define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \ |
@@ -1655,6 +1656,22 @@ class LDrop: public LTemplateInstruction<0, 0, 0> { |
}; |
+class LInnerAllocatedObject: public LTemplateInstruction<1, 1, 0> { |
+ public: |
+ explicit LInnerAllocatedObject(LOperand* base_object) { |
+ inputs_[0] = base_object; |
+ } |
+ |
+ LOperand* base_object() { return inputs_[0]; } |
+ int offset() { return hydrogen()->offset(); } |
+ |
+ virtual void PrintDataTo(StringStream* stream); |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(InnerAllocatedObject, "sub-allocated-object") |
+ DECLARE_HYDROGEN_ACCESSOR(InnerAllocatedObject) |
+}; |
+ |
+ |
class LThisFunction: public LTemplateInstruction<1, 0, 0> { |
public: |
DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function") |