| Index: src/mips/lithium-mips.h
|
| diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h
|
| index cd7f554afd94004dbff33252f661d0e2d4f136e5..05a2ae45a4382c82e6ccd75422641fe481b4a774 100644
|
| --- a/src/mips/lithium-mips.h
|
| +++ b/src/mips/lithium-mips.h
|
| @@ -49,6 +49,7 @@ class LCodeGen;
|
| #define LITHIUM_CONCRETE_INSTRUCTION_LIST(V) \
|
| V(AccessArgumentsAt) \
|
| V(AddI) \
|
| + V(AllocateObject) \
|
| V(ApplyArguments) \
|
| V(ArgumentsElements) \
|
| V(ArgumentsLength) \
|
| @@ -1909,6 +1910,19 @@ class LClampTToUint8: public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| +class LAllocateObject: public LTemplateInstruction<1, 1, 0> {
|
| + public:
|
| + explicit LAllocateObject(LOperand* function) {
|
| + inputs_[0] = function;
|
| + }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object")
|
| + DECLARE_HYDROGEN_ACCESSOR(AllocateObject)
|
| +
|
| + LOperand* function() { return inputs_[0]; }
|
| +};
|
| +
|
| +
|
| class LArrayLiteral: public LTemplateInstruction<1, 0, 0> {
|
| public:
|
| DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal")
|
|
|