Lines Matching refs:IsNumber
280 bool Object::IsNumber() const { return IsSmi() || IsHeapNumber(); } in IsNumber() function
282 bool Object::IsNumeric() const { return IsNumber() || IsBigInt(); } in IsNumeric()
373 return IsJSValue() && JSValue::cast(this)->value()->IsNumber(); in IsNumberWrapper()
456 DCHECK(IsNumber()); in STRUCT_LIST()
538 if (second->IsNumber()) { in KeyEquals()
539 if (first->IsNumber()) return first->Number() == second->Number(); in KeyEquals()
544 if (first->IsNumber()) { in KeyEquals()
610 if (IsNumber()) return PACKED_DOUBLE_ELEMENTS; in OptimalElementsKind()
619 return IsMutableHeapNumber() || IsNumber(); in FitsRepresentation()
673 if (input->IsNumber()) return input; // Shortcut. in ToNumber()
679 if (input->IsNumber() || input->IsBigInt()) return input; // Shortcut. in ToNumeric()
1181 if (mode == ALLOW_CONVERTED_DOUBLE_ELEMENTS && current->IsNumber()) { in EnsureCanContainElements()
2978 DCHECK(other->IsNumber()); in IsMatch()
2988 DCHECK(other->IsNumber()); in HashForObject()