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