Index: src/arm/lithium-arm.h |
=================================================================== |
--- src/arm/lithium-arm.h (revision 7092) |
+++ src/arm/lithium-arm.h (working copy) |
@@ -1456,11 +1456,12 @@ |
// Sometimes truncating conversion from a tagged value to an int32. |
-class LDoubleToI: public LTemplateInstruction<1, 1, 1> { |
+class LDoubleToI: public LTemplateInstruction<1, 1, 2> { |
public: |
- explicit LDoubleToI(LOperand* value, LOperand* temp1) { |
+ explicit LDoubleToI(LOperand* value, LOperand* temp1, LOperand* temp2) { |
Karl Klose
2011/03/09 10:37:51
explicit is not needed here.
Alexandre
2011/03/15 08:45:39
Removed.
|
inputs_[0] = value; |
temps_[0] = temp1; |
+ temps_[1] = temp2; |
} |
DECLARE_CONCRETE_INSTRUCTION(DoubleToI, "double-to-i") |
@@ -1471,11 +1472,16 @@ |
// Truncating conversion from a tagged value to an int32. |
-class LTaggedToI: public LTemplateInstruction<1, 1, 1> { |
+class LTaggedToI: public LTemplateInstruction<1, 1, 3> { |
public: |
- LTaggedToI(LOperand* value, LOperand* temp) { |
+ LTaggedToI(LOperand* value, |
+ LOperand* temp1, |
+ LOperand* temp2, |
+ LOperand* temp3) { |
inputs_[0] = value; |
- temps_[0] = temp; |
+ temps_[0] = temp1; |
+ temps_[1] = temp2; |
+ temps_[2] = temp3; |
} |
DECLARE_CONCRETE_INSTRUCTION(TaggedToI, "tagged-to-i") |