| Index: src/mips/lithium-mips.h
|
| diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h
|
| index ccaad713605d19df8c6cef7d98df3c673e2d3690..80635c3896a130f966a7d357a0d773b823f69e2e 100644
|
| --- a/src/mips/lithium-mips.h
|
| +++ b/src/mips/lithium-mips.h
|
| @@ -188,7 +188,9 @@ class LCodeGen;
|
| V(LoadFieldByIndex) \
|
| V(DateField) \
|
| V(WrapReceiver) \
|
| - V(Drop)
|
| + V(Drop) \
|
| + V(InnerAllocatedObject)
|
| +
|
|
|
| #define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \
|
| virtual Opcode opcode() const { return LInstruction::k##type; } \
|
| @@ -1600,6 +1602,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")
|
|
|