| Index: src/x64/lithium-x64.cc
|
| diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc
|
| index d42d3824e2f37d2b9ee94888e0d4c8bbcc8eb286..666b688c92abf61b066343076bd0466b39be47e7 100644
|
| --- a/src/x64/lithium-x64.cc
|
| +++ b/src/x64/lithium-x64.cc
|
| @@ -1106,7 +1106,6 @@ LInstruction* LChunkBuilder::DoUnaryMathOperation(HUnaryMathOperation* instr) {
|
| case kMathExp: return DoMathExp(instr);
|
| case kMathSqrt: return DoMathSqrt(instr);
|
| case kMathPowHalf: return DoMathPowHalf(instr);
|
| - case kMathClz32: return DoMathClz32(instr);
|
| default:
|
| UNREACHABLE();
|
| return NULL;
|
| @@ -1144,13 +1143,6 @@ LInstruction* LChunkBuilder::DoMathLog(HUnaryMathOperation* instr) {
|
| }
|
|
|
|
|
| -LInstruction* LChunkBuilder::DoMathClz32(HUnaryMathOperation* instr) {
|
| - LOperand* input = UseRegisterAtStart(instr->value());
|
| - LMathClz32* result = new(zone()) LMathClz32(input);
|
| - return DefineAsRegister(result);
|
| -}
|
| -
|
| -
|
| LInstruction* LChunkBuilder::DoMathExp(HUnaryMathOperation* instr) {
|
| ASSERT(instr->representation().IsDouble());
|
| ASSERT(instr->value()->representation().IsDouble());
|
| @@ -1248,10 +1240,10 @@ LInstruction* LChunkBuilder::DoDiv(HDiv* instr) {
|
| ASSERT(instr->right()->representation().Equals(instr->representation()));
|
| if (instr->RightIsPowerOf2()) {
|
| ASSERT(!instr->CheckFlag(HValue::kCanBeDivByZero));
|
| - LOperand* value = UseRegister(instr->left());
|
| + LOperand* value = UseRegisterAtStart(instr->left());
|
| LDivI* div =
|
| new(zone()) LDivI(value, UseOrConstant(instr->right()), NULL);
|
| - return AssignEnvironment(DefineAsRegister(div));
|
| + return AssignEnvironment(DefineSameAsFirst(div));
|
| }
|
| // The temporary operand is necessary to ensure that right is not allocated
|
| // into rdx.
|
|
|