| Index: src/ia32/lithium-ia32.h
|
| diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h
|
| index 318a51f07f805019ff0719d1509913c32e35adc7..17459d06773262893f5ea46782c728f4a05ade98 100644
|
| --- a/src/ia32/lithium-ia32.h
|
| +++ b/src/ia32/lithium-ia32.h
|
| @@ -184,7 +184,8 @@ class LCodeGen;
|
| V(LoadFieldByIndex) \
|
| V(DateField) \
|
| V(WrapReceiver) \
|
| - V(Drop)
|
| + V(Drop) \
|
| + V(SubAllocatedObject)
|
|
|
|
|
| #define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \
|
| @@ -1681,6 +1682,22 @@ class LDrop: public LTemplateInstruction<0, 0, 0> {
|
| };
|
|
|
|
|
| +class LSubAllocatedObject: public LTemplateInstruction<1, 1, 0> {
|
| + public:
|
| + explicit LSubAllocatedObject(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(SubAllocatedObject, "sub-allocated-object")
|
| + DECLARE_HYDROGEN_ACCESSOR(SubAllocatedObject)
|
| +};
|
| +
|
| +
|
| class LThisFunction: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function")
|
|
|