Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index 32db0dd43652096db87b511043463e0854098c6b..f4b62942dab666fa340797d94d52a75067d5bb69 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(Allocate) \ |
V(ApplyArguments) \ |
V(ArgumentsElements) \ |
@@ -2417,6 +2418,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) { |