Index: src/arm64/macro-assembler-arm64.cc |
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc |
index 37739d9c165901bfae47281023d93d502fb8c274..0644c341cb42084e1454fa0645b614939f065189 100644 |
--- a/src/arm64/macro-assembler-arm64.cc |
+++ b/src/arm64/macro-assembler-arm64.cc |
@@ -3936,7 +3936,7 @@ void MacroAssembler::EmitSeqStringSetCharCheck( |
Cmp(index, index_type == kIndexIsSmi ? scratch : Operand::UntagSmi(scratch)); |
Check(lt, kIndexIsTooLarge); |
- DCHECK_EQ(static_cast<Smi*>(0), Smi::FromInt(0)); |
+ DCHECK_EQ(0, Smi::FromInt(0)); |
Cmp(index, 0); |
Check(ge, kIndexIsNegative); |
} |