Lines Matching refs:SMI
305 // Lhs is a Smi. Check whether the rhs is a heap number.
308 // If rhs is not a number and lhs is a Smi then strict equality cannot
319 // Smi compared non-strictly with a non-Smi non-heap-number. Call
324 // Lhs is a smi, rhs is a number.
331 // since it's a smi.
335 // Rhs is a smi. Check whether the non-smi lhs is a heap number.
338 // If lhs is not a number and rhs is a smi then strict equality cannot
349 // Smi compared non-strictly with a non-smi non-heap-number. Call
354 // Rhs is a smi, lhs is a heap number.
493 if (expected == CompareICState::SMI) {
529 // NOTICE! This code is only reached after a smi-fast-case check, so
530 // it is certain that at least one operand isn't a smi.
536 // If either is a Smi (we know that not both are), then they can only
539 DCHECK_EQ(static_cast<Smi*>(0), Smi::kZero);
542 // One operand is a smi. EmitSmiNonsmiComparison generates code that can:
584 // and neither of them is a Smi. The objects are in rhs_ and lhs_.
653 __ LoadSmiLiteral(r2, Smi::FromInt(ncr));
787 // smi. We set it with exponent value before bailing out.
1075 // SMI Marker
1076 // SMI Marker
1282 // DCHECK(Smi::FromInt(JSRegExp::IRREGEXP) < (char *)0xffffu);
1283 __ CmpSmiLiteral(r2, Smi::FromInt(JSRegExp::IRREGEXP), r0);
1388 // a smi (code flushing support).
1584 // Store the smi value in the last match info.
1651 // r5 : slot in feedback vector (Smi)
1654 // Number-of-arguments register must be smi-tagged to call out.
1673 // r5 : slot in feedback vector (Smi)
1764 __ AddSmiLiteral(r6, r6, Smi::FromInt(1), r0);
1772 // r5 : slot in feedback vector (Smi, for RecordCallTarget)
1775 // Check that the function is not a smi.
1813 // If the receiver is a smi trigger the non-string case.
1826 // If the index is non-smi trigger the non-smi case.
1849 // Index is not a smi.
1876 // If index is still not a smi, it must be out of range.
1910 __ LoadSmiLiteral(r2, Smi::FromInt(NOT_EQUAL));
1919 __ LoadSmiLiteral(r2, Smi::FromInt(EQUAL));
1928 __ LoadSmiLiteral(r2, Smi::FromInt(EQUAL));
1956 DCHECK(Smi::FromInt(EQUAL) == static_cast<Smi*>(0));
1965 __ LoadSmiLiteral(r2, Smi::FromInt(GREATER));
1969 __ LoadSmiLiteral(r2, Smi::FromInt(LESS));
2049 DCHECK(state() == CompareICState::SMI);
2078 if (left() == CompareICState::SMI) {
2081 if (right() == CompareICState::SMI) {
2184 __ LoadSmiLiteral(r2, Smi::FromInt(EQUAL));
2224 __ LoadSmiLiteral(r2, Smi::FromInt(EQUAL));
2264 __ LoadSmiLiteral(r2, Smi::FromInt(EQUAL));
2358 __ LoadSmiLiteral(r4, Smi::FromInt(GREATER));
2360 __ LoadSmiLiteral(r4, Smi::FromInt(LESS));
2376 __ LoadSmiLiteral(r0, Smi::FromInt(op()));
2422 // Capacity is smi 2^n.
2426 ip, Smi::FromInt(name->Hash() + NameDictionary::GetProbeOffset(i)));
2518 // Capacity is smi 2^n.
2936 __ AddSmiLiteral(r6, r6, Smi::FromInt(kFastElementsKindPackedToHoley), r0);
3019 // Will both indicate a NULL and a Smi.
3097 // Will both indicate a NULL and a Smi.
3415 __ Push(Smi::kZero); // should_throw_on_error -> false