| Index: src/arm/lithium-arm.cc
|
| ===================================================================
|
| --- src/arm/lithium-arm.cc (revision 12656)
|
| +++ src/arm/lithium-arm.cc (working copy)
|
| @@ -1040,7 +1040,8 @@
|
| return DefineFixedDouble(result, d2);
|
| } else {
|
| LOperand* input = UseRegisterAtStart(instr->value());
|
| - LOperand* temp = (op == kMathFloor) ? TempRegister() : NULL;
|
| +
|
| + LOperand* temp = (op == kMathRound) ? FixedTemp(d3) : NULL;
|
| LUnaryMathOperation* result = new(zone()) LUnaryMathOperation(input, temp);
|
| switch (op) {
|
| case kMathAbs:
|
| @@ -1616,8 +1617,7 @@
|
| LOperand* temp1 = TempRegister();
|
| LOperand* temp2 = instr->CanTruncateToInt32() ? TempRegister()
|
| : NULL;
|
| - LOperand* temp3 = instr->CanTruncateToInt32() ? FixedTemp(d11)
|
| - : NULL;
|
| + LOperand* temp3 = FixedTemp(d11);
|
| res = DefineSameAsFirst(new(zone()) LTaggedToI(value,
|
| temp1,
|
| temp2,
|
|
|