| Index: src/ia32/lithium-ia32.h
|
| diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h
|
| index 8fa754d361ed6ab40e46d6e65f09d01a47f2251a..9d80fafd88dea322543a84730be32f723940ec48 100644
|
| --- a/src/ia32/lithium-ia32.h
|
| +++ b/src/ia32/lithium-ia32.h
|
| @@ -43,6 +43,7 @@ class LCodeGen;
|
| #define LITHIUM_CONCRETE_INSTRUCTION_LIST(V) \
|
| V(AccessArgumentsAt) \
|
| V(AddI) \
|
| + V(AllocateObject) \
|
| V(ApplyArguments) \
|
| V(ArgumentsElements) \
|
| V(ArgumentsLength) \
|
| @@ -1979,6 +1980,19 @@ class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> {
|
| };
|
|
|
|
|
| +class LAllocateObject: public LTemplateInstruction<1, 1, 0> {
|
| + public:
|
| + LAllocateObject(LOperand* context) {
|
| + inputs_[0] = context;
|
| + }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object")
|
| + DECLARE_HYDROGEN_ACCESSOR(AllocateObject)
|
| +
|
| + LOperand* context() { return inputs_[0]; }
|
| +};
|
| +
|
| +
|
| class LArrayLiteral: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| explicit LArrayLiteral(LOperand* context) {
|
|
|