Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index 81566c491d80ebad24628cc3ecf37c250eaf81f8..6c7f80416506a502833c2b66b68838569518adde 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -1923,8 +1923,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) |
}; |