Lines Matching defs:other
1641 bool Object::SameValue(Object other) {
1642 if (other == *this) return true;
1644 if (IsNumber() && other.IsNumber()) {
1645 return SameNumberValue(Number(), other.Number());
1647 if (IsString() && other.IsString()) {
1648 return String::cast(*this).Equals(String::cast(other));
1650 if (IsBigInt() && other.IsBigInt()) {
1651 return BigInt::EqualToBigInt(BigInt::cast(*this), BigInt::cast(other));
1656 bool Object::SameValueZero(Object other) {
1657 if (other == *this) return true;
1659 if (IsNumber() && other.IsNumber()) {
1661 double other_value = other.Number();
1666 if (IsString() && other.IsString()) {
1667 return String::cast(*this).Equals(String::cast(other));
1669 if (IsBigInt() && other.IsBigInt()) {
1670 return BigInt::EqualToBigInt(BigInt::cast(*this), BigInt::cast(other));
4567 bool DescriptorArray::IsEqualTo(DescriptorArray other) {
4568 if (number_of_all_descriptors() != other.number_of_all_descriptors()) {
4572 if (GetKey(i) != other.GetKey(i)) return false;
4573 if (GetDetails(i).AsSmi() != other.GetDetails(i).AsSmi()) return false;
4574 if (GetValue(i) != other.GetValue(i)) return false;
5826 // The other element will be processed on the next iteration,
6956 // Remove weak_cell from the linked list of other WeakCells with the same