Index: src/compiler/x87/code-generator-x87.cc |
diff --git a/src/compiler/x87/code-generator-x87.cc b/src/compiler/x87/code-generator-x87.cc |
index 5d8594c92bae8d754db25223ff6c771db919c399..cdd84b34f975754da055e2fd3c40765b2404c511 100644 |
--- a/src/compiler/x87/code-generator-x87.cc |
+++ b/src/compiler/x87/code-generator-x87.cc |
@@ -994,10 +994,10 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
} else { |
__ add(i.OutputRegister(0), i.InputRegister(2)); |
} |
- __ adc(i.InputRegister(1), Operand(i.InputRegister(3))); |
if (i.OutputRegister(1).code() != i.InputRegister(1).code()) { |
__ Move(i.OutputRegister(1), i.InputRegister(1)); |
} |
+ __ adc(i.OutputRegister(1), Operand(i.InputRegister(3))); |
if (use_temp) { |
__ Move(i.OutputRegister(0), i.TempRegister(0)); |
} |
@@ -1019,10 +1019,10 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
} else { |
__ sub(i.OutputRegister(0), i.InputRegister(2)); |
} |
- __ sbb(i.InputRegister(1), Operand(i.InputRegister(3))); |
if (i.OutputRegister(1).code() != i.InputRegister(1).code()) { |
__ Move(i.OutputRegister(1), i.InputRegister(1)); |
} |
+ __ sbb(i.OutputRegister(1), Operand(i.InputRegister(3))); |
if (use_temp) { |
__ Move(i.OutputRegister(0), i.TempRegister(0)); |
} |