Index: src/compiler/ia32/code-generator-ia32.cc |
diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc |
index 4e159efd239acad9ed501aa7eea0ccbe43df0f90..33f02a439ca7e2e5118cb417affe29b19db6f1d2 100644 |
--- a/src/compiler/ia32/code-generator-ia32.cc |
+++ b/src/compiler/ia32/code-generator-ia32.cc |
@@ -891,10 +891,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)); |
} |
@@ -916,10 +916,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)); |
} |