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 945e99d092c96d6339269313c856db57343c6aaa..204d9aa2f80c3fa6023d9bca5f26855ece6a57dd 100644 |
--- a/src/compiler/ia32/code-generator-ia32.cc |
+++ b/src/compiler/ia32/code-generator-ia32.cc |
@@ -354,7 +354,7 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ cvtss2sd(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
break; |
case kSSECvtsd2ss: |
- __ cvtsd2ss(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
+ __ cvtsd2ss(i.OutputDoubleRegister(), i.InputOperand(0)); |
break; |
case kSSEFloat64ToInt32: |
__ cvttsd2si(i.OutputRegister(), i.InputOperand(0)); |