| Index: src/arm/lithium-arm.h
|
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
|
| index ab4ecd9e984f859d33d5effb49add92c18aafbf7..3b77d62b2080fe72b75797e9f249b251cabb2471 100644
|
| --- a/src/arm/lithium-arm.h
|
| +++ b/src/arm/lithium-arm.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")
|
|
|