Index: src/compiler/arm64/code-generator-arm64.cc |
diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc |
index 2b51cd09c6102720b077432a65bc11793a891a4a..257dd6c1341cf6a4382c559ca72a2d257d8a72c8 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -770,8 +770,8 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
} else { |
DCHECK(instr->InputAt(1)->IsImmediate()); |
// 0.0 is the only immediate supported by fcmp instructions. |
- DCHECK(i.InputDouble(1) == 0.0); |
- __ Fcmp(i.InputFloat32Register(0), i.InputDouble(1)); |
+ DCHECK(i.InputFloat32(1) == 0.0f); |
+ __ Fcmp(i.InputFloat32Register(0), i.InputFloat32(1)); |
} |
break; |
case kArm64Float32Add: |