Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index cc9d3b107816a22082c253e35da2b304cb193b87..2128ce3e9eb127eb049d7ba773f5dbcaa340b96e 100644 |
--- a/src/mips/lithium-mips.h |
+++ b/src/mips/lithium-mips.h |
@@ -1922,8 +1922,13 @@ class LClampTToUint8: public LTemplateInstruction<1, 1, 1> { |
}; |
-class LAllocateObject: public LTemplateInstruction<1, 0, 0> { |
+class LAllocateObject: public LTemplateInstruction<1, 0, 2> { |
public: |
+ LAllocateObject(LOperand* temp1, LOperand* temp2) { |
+ temps_[0] = temp1; |
+ temps_[1] = temp2; |
+ } |
+ |
DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object") |
DECLARE_HYDROGEN_ACCESSOR(AllocateObject) |
}; |