Lines Matching refs:SMI
308 // Lhs is a Smi. Check whether the rhs is a heap number.
311 // If rhs is not a number and lhs is a Smi then strict equality cannot
324 // Smi compared non-strictly with a non-Smi non-heap-number. Call
329 // Lhs is a smi, rhs is a number.
336 // since it's a smi.
340 // Rhs is a smi. Check whether the non-smi lhs is a heap number.
343 // If lhs is not a number and rhs is a smi then strict equality cannot
356 // Smi compared non-strictly with a non-smi non-heap-number. Call
361 // Rhs is a smi, lhs is a heap number.
500 if (expected == CompareICState::SMI) {
537 // NOTICE! This code is only reached after a smi-fast-case check, so
538 // it is certain that at least one operand isn't a smi.
544 // If either is a Smi (we know that not both are), then they can only
547 DCHECK_EQ(static_cast<Smi*>(0), Smi::kZero);
550 // One operand is a smi. EmitSmiNonsmiComparison generates code that can:
601 // and neither of them is a Smi. The objects are in rhs_ and lhs_.
670 __ LoadSmiLiteral(r3, Smi::FromInt(ncr));
811 // smi. We set it with exponent value before bailing out.
1282 // DCHECK(Smi::FromInt(JSRegExp::IRREGEXP) < (char *)0xffffu);
1283 __ CmpSmiLiteral(r3, Smi::FromInt(JSRegExp::IRREGEXP), r0);
1387 // a smi (code flushing support).
1574 // Store the smi value in the last match info.
1640 // r6 : slot in feedback vector (Smi)
1643 // Number-of-arguments register must be smi-tagged to call out.
1663 // r6 : slot in feedback vector (Smi)
1754 __ AddSmiLiteral(r7, r7, Smi::FromInt(1), r0);
1763 // r6 : slot in feedback vector (Smi, for RecordCallTarget)
1766 // Check that the function is not a smi.
1810 // If the receiver is a smi trigger the non-string case.
1822 // If the index is non-smi trigger the non-smi case.
1846 // Index is not a smi.
1873 // If index is still not a smi, it must be out of range.
1907 __ LoadSmiLiteral(r3, Smi::FromInt(NOT_EQUAL));
1916 __ LoadSmiLiteral(r3, Smi::FromInt(EQUAL));
1925 __ LoadSmiLiteral(r3, Smi::FromInt(EQUAL));
1958 DCHECK(Smi::FromInt(EQUAL) == static_cast<Smi*>(0));
1966 __ LoadSmiLiteral(r4, Smi::FromInt(GREATER));
1967 __ LoadSmiLiteral(r5, Smi::FromInt(LESS));
1974 __ LoadSmiLiteral(r3, Smi::FromInt(GREATER));
1978 __ LoadSmiLiteral(r3, Smi::FromInt(LESS));
2064 DCHECK(state() == CompareICState::SMI);
2094 if (left() == CompareICState::SMI) {
2097 if (right() == CompareICState::SMI) {
2210 __ LoadSmiLiteral(r3, Smi::FromInt(EQUAL));
2251 __ LoadSmiLiteral(r3, Smi::FromInt(EQUAL));
2292 __ LoadSmiLiteral(r3, Smi::FromInt(EQUAL));
2386 __ LoadSmiLiteral(r5, Smi::FromInt(GREATER));
2388 __ LoadSmiLiteral(r5, Smi::FromInt(LESS));
2405 __ LoadSmiLiteral(r0, Smi::FromInt(op()));
2461 // Capacity is smi 2^n.
2465 ip, Smi::FromInt(name->Hash() + NameDictionary::GetProbeOffset(i)));
2560 // Capacity is smi 2^n.
2971 __ AddSmiLiteral(r7, r7, Smi::FromInt(kFastElementsKindPackedToHoley), r0);
3060 // Will both indicate a NULL and a Smi.
3140 // Will both indicate a NULL and a Smi.
3467 __ Push(Smi::kZero); // should_throw_on_error -> false