Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 12a6290fbcbaef3780f3158d65f5d3c1bcf2541e..2ee00dc252015a4a819fd6e7b029446b6e108512 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -1915,13 +1915,10 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) { |
} else { |
value = UseRegister(instr->value()); |
LOperand* temp1 = TempRegister(); |
- LOperand* temp2 = instr->CanTruncateToInt32() ? TempRegister() |
- : NULL; |
- LOperand* temp3 = FixedTemp(d11); |
+ LOperand* temp2 = FixedTemp(d11); |
res = DefineSameAsFirst(new(zone()) LTaggedToI(value, |
temp1, |
- temp2, |
- temp3)); |
+ temp2)); |
res = AssignEnvironment(res); |
} |
return res; |
@@ -1941,14 +1938,12 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) { |
return AssignPointerMap(result); |
} else if (to.IsSmi()) { |
LOperand* value = UseRegister(instr->value()); |
- return AssignEnvironment(DefineAsRegister(new(zone()) LDoubleToSmi(value, |
- TempRegister(), TempRegister()))); |
+ return AssignEnvironment( |
+ DefineAsRegister(new(zone()) LDoubleToSmi(value))); |
} else { |
ASSERT(to.IsInteger32()); |
LOperand* value = UseRegister(instr->value()); |
- LOperand* temp1 = TempRegister(); |
- LOperand* temp2 = instr->CanTruncateToInt32() ? TempRegister() : NULL; |
- LDoubleToI* res = new(zone()) LDoubleToI(value, temp1, temp2); |
+ LDoubleToI* res = new(zone()) LDoubleToI(value); |
return AssignEnvironment(DefineAsRegister(res)); |
} |
} else if (from.IsInteger32()) { |