| Index: src/compiler/x64/code-generator-x64.cc
|
| diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc
|
| index 0de838698bd75c081db0e3cb7dd26ee45a87882d..cdd35e276c8d956d166e14bafb0e91351a8fec7c 100644
|
| --- a/src/compiler/x64/code-generator-x64.cc
|
| +++ b/src/compiler/x64/code-generator-x64.cc
|
| @@ -275,8 +275,7 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
| if (input.type == kRegister) {
|
| __ imull(i.OutputRegister(), input.reg, i.InputImmediate(1));
|
| } else {
|
| - __ movq(kScratchRegister, input.operand);
|
| - __ imull(i.OutputRegister(), kScratchRegister, i.InputImmediate(1));
|
| + __ imull(i.OutputRegister(), input.operand, i.InputImmediate(1));
|
| }
|
| } else {
|
| RegisterOrOperand input = i.InputRegisterOrOperand(1);
|
| @@ -293,8 +292,7 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
| if (input.type == kRegister) {
|
| __ imulq(i.OutputRegister(), input.reg, i.InputImmediate(1));
|
| } else {
|
| - __ movq(kScratchRegister, input.operand);
|
| - __ imulq(i.OutputRegister(), kScratchRegister, i.InputImmediate(1));
|
| + __ imulq(i.OutputRegister(), input.operand, i.InputImmediate(1));
|
| }
|
| } else {
|
| RegisterOrOperand input = i.InputRegisterOrOperand(1);
|
|
|