| Index: src/arm/lithium-arm.cc
|
| ===================================================================
|
| --- src/arm/lithium-arm.cc (revision 7092)
|
| +++ src/arm/lithium-arm.cc (working copy)
|
| @@ -1599,7 +1599,10 @@
|
| bool needs_check = !instr->value()->type().IsSmi();
|
| LInstruction* res = NULL;
|
| if (needs_check) {
|
| - res = DefineSameAsFirst(new LTaggedToI(value, FixedTemp(d1)));
|
| + res = DefineSameAsFirst(new LTaggedToI(value,
|
| + TempRegister(),
|
| + FixedTemp(d1),
|
| + FixedTemp(d2)));
|
| } else {
|
| res = DefineSameAsFirst(new LSmiUntag(value, needs_check));
|
| }
|
| @@ -1623,7 +1626,7 @@
|
| } else {
|
| ASSERT(to.IsInteger32());
|
| LOperand* value = UseRegister(instr->value());
|
| - LDoubleToI* res = new LDoubleToI(value, TempRegister());
|
| + LDoubleToI* res = new LDoubleToI(value, TempRegister(), FixedTemp(d1));
|
| return AssignEnvironment(DefineAsRegister(res));
|
| }
|
| } else if (from.IsInteger32()) {
|
|
|