| Index: src/arm/lithium-arm.h
|
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
|
| index d81dc0f57cde1ea708f7a582e3d2fb830571752a..fae7106b52982694d7b3c0555cecae77a340a81c 100644
|
| --- a/src/arm/lithium-arm.h
|
| +++ b/src/arm/lithium-arm.h
|
| @@ -2028,17 +2028,13 @@ class LNumberTagD: public LTemplateInstruction<1, 1, 2> {
|
| };
|
|
|
|
|
| -class LDoubleToSmi: public LTemplateInstruction<1, 1, 2> {
|
| +class LDoubleToSmi: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| - LDoubleToSmi(LOperand* value, LOperand* temp, LOperand* temp2) {
|
| + explicit LDoubleToSmi(LOperand* value) {
|
| inputs_[0] = value;
|
| - temps_[0] = temp;
|
| - temps_[1] = temp2;
|
| }
|
|
|
| LOperand* value() { return inputs_[0]; }
|
| - LOperand* temp() { return temps_[0]; }
|
| - LOperand* temp2() { return temps_[1]; }
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(DoubleToSmi, "double-to-smi")
|
| DECLARE_HYDROGEN_ACCESSOR(UnaryOperation)
|
| @@ -2048,17 +2044,13 @@ class LDoubleToSmi: public LTemplateInstruction<1, 1, 2> {
|
|
|
|
|
| // Sometimes truncating conversion from a tagged value to an int32.
|
| -class LDoubleToI: public LTemplateInstruction<1, 1, 2> {
|
| +class LDoubleToI: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| - LDoubleToI(LOperand* value, LOperand* temp, LOperand* temp2) {
|
| + explicit LDoubleToI(LOperand* value) {
|
| inputs_[0] = value;
|
| - temps_[0] = temp;
|
| - temps_[1] = temp2;
|
| }
|
|
|
| LOperand* value() { return inputs_[0]; }
|
| - LOperand* temp() { return temps_[0]; }
|
| - LOperand* temp2() { return temps_[1]; }
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(DoubleToI, "double-to-i")
|
| DECLARE_HYDROGEN_ACCESSOR(UnaryOperation)
|
| @@ -2068,22 +2060,19 @@ class LDoubleToI: public LTemplateInstruction<1, 1, 2> {
|
|
|
|
|
| // Truncating conversion from a tagged value to an int32.
|
| -class LTaggedToI: public LTemplateInstruction<1, 1, 3> {
|
| +class LTaggedToI: public LTemplateInstruction<1, 1, 2> {
|
| public:
|
| LTaggedToI(LOperand* value,
|
| LOperand* temp,
|
| - LOperand* temp2,
|
| - LOperand* temp3) {
|
| + LOperand* temp2) {
|
| inputs_[0] = value;
|
| temps_[0] = temp;
|
| temps_[1] = temp2;
|
| - temps_[2] = temp3;
|
| }
|
|
|
| LOperand* value() { return inputs_[0]; }
|
| LOperand* temp() { return temps_[0]; }
|
| LOperand* temp2() { return temps_[1]; }
|
| - LOperand* temp3() { return temps_[2]; }
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(TaggedToI, "tagged-to-i")
|
| DECLARE_HYDROGEN_ACCESSOR(UnaryOperation)
|
|
|