Lines Matching refs:cage_base
53 return TaggedField<FixedArrayBase, kElementsOffset>::load(cage_base, *this);
57 PtrComprCageBase cage_base = GetPtrComprCageBase(*this);
58 return elements(cage_base, tag);
61 FixedArrayBase JSObject::elements(PtrComprCageBase cage_base,
63 return TaggedField<FixedArrayBase, kElementsOffset>::Relaxed_Load(cage_base,
259 return map(cage_base).GetIndexedInterceptor(cage_base);
263 return map(cage_base).GetNamedInterceptor(cage_base);
348 PtrComprCageBase cage_base = GetPtrComprCageBase(*this);
349 return RawFastPropertyAt(cage_base, index);
352 Object JSObject::RawFastPropertyAt(PtrComprCageBase cage_base,
355 return TaggedField<Object>::Relaxed_Load(cage_base, *this, index.offset());
357 return property_array(cage_base).get(cage_base,
366 PtrComprCageBase cage_base = GetPtrComprCageBase(*this);
367 return RawFastPropertyAt(cage_base, index, tag);
370 Object JSObject::RawFastPropertyAt(PtrComprCageBase cage_base, FieldIndex index,
373 return TaggedField<Object>::SeqCst_Load(cage_base, *this, index.offset());
375 return property_array(cage_base).get(cage_base,
381 PtrComprCageBase cage_base, Map original_map, FieldIndex index) const {
410 TaggedField<Object>::Acquire_Load(cage_base, *this, index.offset());
411 if (original_map != map(cage_base, kAcquireLoad)) return {};
482 PtrComprCageBase cage_base = GetPtrComprCageBase(*this);
483 return RawFastPropertyAtSwap(cage_base, index, value, tag);
486 Object JSObject::RawFastPropertyAtSwap(PtrComprCageBase cage_base,
490 return TaggedField<Object>::SeqCst_Swap(cage_base, *this, index.offset(),
493 return property_array().Swap(cage_base, index.outobject_array_index(), value,
589 return TaggedField<Object, kNativeContextOffset>::Relaxed_Load(cage_base,
623 ElementsKind kind = map(cage_base).elements_kind();
626 TaggedField<HeapObject, kElementsOffset>::load(cage_base, *this));
630 if (ElementsAreSafeToExamine(cage_base)) {
631 Map map = fixed_array.map(cage_base);
633 DCHECK(map == GetReadOnlyRoots(cage_base).fixed_array_map() ||
634 map == GetReadOnlyRoots(cage_base).fixed_cow_array_map());
636 DCHECK(fixed_array.IsFixedDoubleArray(cage_base) ||
637 fixed_array == GetReadOnlyRoots(cage_base).empty_fixed_array());
639 DCHECK(fixed_array.IsFixedArray(cage_base));
640 DCHECK(fixed_array.IsNumberDictionary(cage_base));
646 elements(cage_base).IsSloppyArgumentsElements());
653 return ElementsAccessor::ForKind(GetElementsKind(cage_base));
657 return IsObjectElementsKind(GetElementsKind(cage_base));
661 return IsSmiElementsKind(GetElementsKind(cage_base));
665 return IsSmiOrObjectElementsKind(GetElementsKind(cage_base));
669 return IsDoubleElementsKind(GetElementsKind(cage_base));
673 return IsHoleyElementsKind(GetElementsKind(cage_base));
677 return IsFastElementsKind(GetElementsKind(cage_base));
681 return IsFastPackedElementsKind(GetElementsKind(cage_base));
685 return IsDictionaryElementsKind(GetElementsKind(cage_base));
689 return GetElementsKind(cage_base) == PACKED_ELEMENTS;
693 return IsAnyNonextensibleElementsKind(GetElementsKind(cage_base));
697 return IsSealedElementsKind(GetElementsKind(cage_base));
701 return IsNonextensibleElementsKind(GetElementsKind(cage_base));
705 return IsFastArgumentsElementsKind(GetElementsKind(cage_base));
709 return IsSlowArgumentsElementsKind(GetElementsKind(cage_base));
713 return IsSloppyArgumentsElementsKind(GetElementsKind(cage_base));
717 return IsStringWrapperElementsKind(GetElementsKind(cage_base));
721 return GetElementsKind(cage_base) == FAST_STRING_WRAPPER_ELEMENTS;
725 return GetElementsKind(cage_base) == SLOW_STRING_WRAPPER_ELEMENTS;
729 DCHECK(!elements(cage_base).is_null());
730 return map(cage_base).has_typed_array_or_rab_gsab_typed_array_elements();
735 return map(cage_base).elements_kind() == TYPE##_ELEMENTS; \
743 return map(cage_base).has_named_interceptor();
747 return map(cage_base).has_indexed_interceptor();
752 !HasFastProperties(cage_base), true)
755 DCHECK(HasDictionaryElements(cage_base) ||
756 HasSlowStringWrapperElements(cage_base));
757 return NumberDictionary::cast(elements(cage_base));
779 DCHECK(raw_properties_or_hash(cage_base).IsSmi() ||
780 ((raw_properties_or_hash(cage_base).IsGlobalDictionary(cage_base) ||
781 raw_properties_or_hash(cage_base).IsNameDictionary(cage_base) ||
782 raw_properties_or_hash(cage_base).IsSwissNameDictionary(
783 cage_base)) == map(cage_base).is_dictionary_map()));
784 return !map(cage_base).is_dictionary_map();
788 DCHECK(!IsJSGlobalObject(cage_base));
789 DCHECK(!HasFastProperties(cage_base));
792 Object prop = raw_properties_or_hash(cage_base);
794 return GetReadOnlyRoots(cage_base).empty_property_dictionary();
800 DCHECK(!IsJSGlobalObject(cage_base));
801 DCHECK(!HasFastProperties(cage_base));
804 Object prop = raw_properties_or_hash(cage_base);
806 return GetReadOnlyRoots(cage_base).empty_swiss_property_dictionary();
814 DCHECK(HasFastProperties(cage_base));
815 Object prop = raw_properties_or_hash(cage_base);
816 if (prop.IsSmi() || prop == GetReadOnlyRoots(cage_base).empty_fixed_array()) {
817 return GetReadOnlyRoots(cage_base).empty_property_array();