Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index 6c132a247e9e730942d8864797cd97ea5670a558..3990972b60912140a831d8d0536d0261a3946668 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.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) \ |
@@ -1898,6 +1899,19 @@ class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { |
}; |
+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") |