Home | History | Annotate | Download | only in mips

Lines Matching refs:SMI

331   // Rhs is a Smi.
332 // Check whether the non-smi is a heap number.
335 // If lhs was not a number and rhs was a Smi then strict equality cannot
340 // Smi compared non-strictly with a non-Smi non-heap-number. Call
345 // Rhs is a smi, lhs is a number.
346 // Convert smi rhs to double.
356 // Lhs is a Smi. Check whether the non-smi is a heap number.
359 // If lhs was not a number and rhs was a Smi then strict equality cannot
364 // Smi compared non-strictly with a non-Smi non-heap-number. Call
369 // Lhs is a smi, rhs is a number.
370 // Convert smi lhs to double.
507 if (expected == CompareICState::SMI) {
544 // NOTICE! This code is only reached after a smi-fast-case check, so
545 // it is certain that at least one operand isn't a smi.
551 // If either is a Smi (we know that not both are), then they can only
554 DCHECK_EQ(static_cast<Smi*>(0), Smi::kZero);
557 // One operand is a smi. EmitSmiNonsmiComparison generates code that can:
621 // and neither of them is a Smi. The objects are in lhs_ and rhs_.
694 __ li(a0, Operand(Smi::FromInt(ncr)));
849 // smi. We set it with exponent value before bailing out.
1338 __ Branch(&runtime, ne, a0, Operand(Smi::FromInt(JSRegExp::IRREGEXP)));
1346 // Multiplying by 2 comes for free since a2 is smi-tagged.
1421 __ sra(a1, a1, kSmiTagSize); // Untag the Smi.
1436 // a smi (code flushing support).
1565 // Multiplying by 2 comes for free since r1 is smi-tagged.
1568 __ Addu(a1, a1, Operand(2)); // a1 was a smi.
1588 __ sll(a2, a1, kSmiTagSize + kSmiShiftSize); // To smi.
1623 // Store the smi value in the last match info.
1624 __ sll(a3, a3, kSmiTagSize); // Convert to Smi.
1692 // a3 : slot in feedback vector (Smi)
1701 // Number-of-arguments register must be smi-tagged to call out.
1719 // a3 : slot in feedback vector (Smi)
1799 __ Addu(t0, t0, Operand(Smi::FromInt(1)));
1808 // a3 : slot in feedback vector (Smi, for RecordCallTarget)
1811 // Check that the function is not a smi.
1852 // If the receiver is a smi trigger the non-string case.
1863 // If the index is non-smi trigger the non-smi case.
1890 // Index is not a smi.
1921 // If index is still not a smi, it must be out of range.
1956 __ li(v0, Operand(Smi::FromInt(NOT_EQUAL)));
1965 __ li(v0, Operand(Smi::FromInt(EQUAL)));
1975 __ li(v0, Operand(Smi::FromInt(EQUAL)));
2000 DCHECK(Smi::FromInt(EQUAL) == static_cast<Smi*>(0));
2011 __ li(v0, Operand(Smi::FromInt(GREATER)));
2013 __ li(v0, Operand(Smi::FromInt(LESS)));
2097 DCHECK(state() == CompareICState::SMI);
2126 if (left() == CompareICState::SMI) {
2129 if (right() == CompareICState::SMI) {
2245 __ li(v0, Operand(Smi::FromInt(EQUAL)));
2287 __ li(v0, Operand(Smi::FromInt(EQUAL)));
2426 __ li(a2, Operand(Smi::FromInt(GREATER)));
2428 __ li(a2, Operand(Smi::FromInt(LESS)));
2445 __ li(t0, Operand(Smi::FromInt(op())));
2511 // Capacity is smi 2^n.
2515 Smi::FromInt(name->Hash() + NameDictionary::GetProbeOffset(i))));
2602 // Capacity is smi 2^n.
3012 __ Addu(t0, t0, Operand(Smi::FromInt(kFastElementsKindPackedToHoley)));
3099 // Will both indicate a NULL and a Smi.
3180 // Will both indicate a NULL and a Smi.
3484 DCHECK(Smi::kZero == nullptr);