Index: src/ppc/macro-assembler-ppc.cc |
diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc |
index 9b5f80ebe980a6b7c106750f5b885c55761b43a4..bbc08e87f01ab29c36e8634297352a0278694341 100644 |
--- a/src/ppc/macro-assembler-ppc.cc |
+++ b/src/ppc/macro-assembler-ppc.cc |
@@ -3451,7 +3451,7 @@ void MacroAssembler::EmitSeqStringSetCharCheck(Register string, Register index, |
cmp(index, ip); |
Check(lt, kIndexIsTooLarge); |
- DCHECK(Smi::FromInt(0) == 0); |
+ DCHECK(Smi::kZero == 0); |
cmpi(index, Operand::Zero()); |
Check(ge, kIndexIsNegative); |
@@ -3828,7 +3828,7 @@ void MacroAssembler::CheckEnumCache(Label* call_runtime) { |
// For all objects but the receiver, check that the cache is empty. |
EnumLength(r6, r4); |
- CmpSmiLiteral(r6, Smi::FromInt(0), r0); |
+ CmpSmiLiteral(r6, Smi::kZero, r0); |
bne(call_runtime); |
bind(&start); |