Lines Matching refs:SMI
305 // Left is the smi. Check whether right is a heap number.
307 // If right is not a number and left is a smi, then strict equality cannot
318 // Smi compared non-strictly with a non-smi, non-heap-number. Call the
323 // Left is the smi. Right is a heap number. Load right value into right_d, and
324 // convert left smi into double in left_d.
330 // Right is a smi. Check whether the non-smi left is a heap number.
332 // If left is not a number and right is a smi then strict equality cannot
343 // Smi compared non-strictly with a non-smi, non-heap-number. Call the
348 // Right is the smi. Left is a heap number. Load left value into left_d, and
349 // convert right smi into double in right_d.
423 if (expected == CompareICState::SMI) {
455 // NOTICE! This code is only reached after a smi-fast-case check, so it is
456 // certain that at least one operand isn't a smi.
462 // If either is a smi (we know that at least one is not a smi), then they can
466 // Exactly one operand is a smi. EmitSmiNonsmiComparison generates code that
503 // neither of them is a smi. The objects are in rhs_ and lhs_.
596 __ Mov(x10, Smi::FromInt(ncr));
719 // Handle SMI exponents.
1352 __ Cmp(x10, Smi::FromInt(JSRegExp::IRREGEXP));
1442 // Check that the third argument is a positive smi less than the subject
1476 // a smi (code flushing support).
1653 // Store the smi values in the last match info.
1655 // Clearing the 32 bottom bits gives us a Smi.
1751 // Number-of-arguments register must be smi-tagged to call out.
1778 // index : slot in feedback vector (smi)
1869 __ Add(scratch2, scratch2, Operand(Smi::FromInt(1)));
1879 // x3 : slot in feedback vector (Smi, for RecordCallTarget)
1883 // Check that the function is not a smi.
1919 // If the receiver is a smi trigger the non-string case.
1931 // If the index is non-smi trigger the non-smi case.
1983 // If index is still not a smi, it must be out of range.
2027 DCHECK(state() == CompareICState::SMI);
2062 if (left() == CompareICState::SMI) {
2065 if (right() == CompareICState::SMI) {
2239 // Result is in rhs (x0), and not EQUAL, as rhs is not a smi.
2333 __ Mov(ncr, Smi::FromInt(GREATER));
2335 __ Mov(ncr, Smi::FromInt(LESS));
2362 __ Mov(op, Smi::FromInt(this->op()));
2396 __ Mov(result, Smi::FromInt(NOT_EQUAL));
2404 __ Mov(result, Smi::FromInt(EQUAL));
2413 __ Mov(result, Smi::FromInt(EQUAL));
2441 DCHECK(Smi::FromInt(EQUAL) == static_cast<Smi*>(0));
2450 __ Mov(greater, Smi::FromInt(GREATER));
2451 __ Mov(less, Smi::FromInt(LESS));
2802 // Capacity is smi 2^n.
2884 // Capacity is smi 2^n.
3036 __ Add(x11, x11, Smi::FromInt(kFastElementsKindPackedToHoley));
3137 // Will both indicate a NULL and a Smi.
3234 // Will both indicate a NULL and a Smi.
3564 __ Push(Smi::kZero); // should_throw_on_error -> false