| 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 dcbac2d406d7076736f90e912c5e0f46d94b5eb4..4b4c70d3cacae0a5e86e0751a2995ca84ea20152 100644
 | 
| --- a/src/compiler/ia32/code-generator-ia32.cc
 | 
| +++ b/src/compiler/ia32/code-generator-ia32.cc
 | 
| @@ -680,6 +680,31 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
 | 
|          __ sar_cl(i.OutputOperand());
 | 
|        }
 | 
|        break;
 | 
| +    case kIA32AddPair: {
 | 
| +      // i.OutputRegister(0) == i.InputRegister(0) ... left low word.
 | 
| +      // i.InputRegister(1) ... left high word.
 | 
| +      // i.InputRegister(2) ... right low word.
 | 
| +      // i.InputRegister(3) ... right high word.
 | 
| +      bool use_temp = false;
 | 
| +      if (i.OutputRegister(0).code() == i.InputRegister(1).code() ||
 | 
| +          i.OutputRegister(0).code() == i.InputRegister(3).code()) {
 | 
| +        // We cannot write to the output register directly, because it would
 | 
| +        // overwrite an input for adc. We have to use the temp register.
 | 
| +        use_temp = true;
 | 
| +        __ Move(i.TempRegister(0), i.InputRegister(0));
 | 
| +        __ add(i.TempRegister(0), i.InputRegister(2));
 | 
| +      } 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));
 | 
| +      }
 | 
| +      if (use_temp) {
 | 
| +        __ Move(i.OutputRegister(0), i.TempRegister(0));
 | 
| +      }
 | 
| +      break;
 | 
| +    }
 | 
|      case kIA32ShlPair:
 | 
|        if (HasImmediateInput(instr, 2)) {
 | 
|          __ ShlPair(i.InputRegister(1), i.InputRegister(0), i.InputInt6(2));
 | 
| 
 |