| Index: src/arm/lithium-arm.h
|
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
|
| index 8eff338301adc31e051ead56aadef7edc2fb639c..a3aea08ef2279b7a9d998501648a410543c80c9f 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(Allocate) \
|
| V(ApplyArguments) \
|
| V(ArgumentsElements) \
|
| @@ -2444,6 +2445,21 @@ class LClampTToUint8: public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| +class LAllocateObject: public LTemplateInstruction<1, 1, 2> {
|
| + public:
|
| + LAllocateObject(LOperand* temp, LOperand* temp2) {
|
| + temps_[0] = temp;
|
| + temps_[1] = temp2;
|
| + }
|
| +
|
| + LOperand* temp() { return temps_[0]; }
|
| + LOperand* temp2() { return temps_[1]; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object")
|
| + DECLARE_HYDROGEN_ACCESSOR(AllocateObject)
|
| +};
|
| +
|
| +
|
| class LAllocate: public LTemplateInstruction<1, 2, 2> {
|
| public:
|
| LAllocate(LOperand* size, LOperand* temp1, LOperand* temp2) {
|
|
|