Index: src/compiler/arm/code-generator-arm.cc |
diff --git a/src/compiler/arm/code-generator-arm.cc b/src/compiler/arm/code-generator-arm.cc |
index 6cb32f421ba020ff9bebdd6b3b59788482fc7514..bef65577fd1f6365df304d2a01d3f600b7f03733 100644 |
--- a/src/compiler/arm/code-generator-arm.cc |
+++ b/src/compiler/arm/code-generator-arm.cc |
@@ -572,8 +572,8 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
} else { |
DCHECK(instr->InputAt(1)->IsImmediate()); |
// 0.0 is the only immediate supported by vcmp instructions. |
- DCHECK(i.InputDouble(1) == 0.0); |
- __ VFPCompareAndSetFlags(i.InputFloat32Register(0), i.InputDouble(1)); |
+ DCHECK(i.InputFloat32(1) == 0.0f); |
+ __ VFPCompareAndSetFlags(i.InputFloat32Register(0), i.InputFloat32(1)); |
} |
DCHECK_EQ(SetCC, i.OutputSBit()); |
break; |