| Index: src/x64/lithium-x64.h
|
| diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h
|
| index cc7338261451e7f6d7f592542a3b2180dfdbdf60..94efc29c1548dd9c9abdc2785bbaa00cca6e82b3 100644
|
| --- a/src/x64/lithium-x64.h
|
| +++ b/src/x64/lithium-x64.h
|
| @@ -50,6 +50,7 @@ class LCodeGen;
|
| V(AccessArgumentsAt) \
|
| V(AddI) \
|
| V(Allocate) \
|
| + V(AllocateObject) \
|
| V(ApplyArguments) \
|
| V(ArgumentsElements) \
|
| V(ArgumentsLength) \
|
| @@ -2362,6 +2363,19 @@ class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> {
|
| };
|
|
|
|
|
| +class LAllocateObject: public LTemplateInstruction<1, 0, 1> {
|
| + public:
|
| + explicit LAllocateObject(LOperand* temp) {
|
| + temps_[0] = temp;
|
| + }
|
| +
|
| + LOperand* temp() { return temps_[0]; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object")
|
| + DECLARE_HYDROGEN_ACCESSOR(AllocateObject)
|
| +};
|
| +
|
| +
|
| class LAllocate: public LTemplateInstruction<1, 1, 1> {
|
| public:
|
| LAllocate(LOperand* size, LOperand* temp) {
|
|
|