|
| DEFINE_FIELD_OFFSET_CONSTANTS (JSObject::kHeaderSize, JS_DATA_PROPERTY_DESCRIPTOR_FIELDS) static const int kValueIndex=0 |
|
Tagged< FixedArrayBase > | elements (PtrComprCageBase cage_base, AcquireLoadTag tag) const =delete |
|
void | set_elements (Tagged< FixedArrayBase > value, ReleaseStoreTag tag, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)=delete |
|
void | initialize_elements () |
|
bool | HasEnumerableElements () |
|
bool | WouldConvertToSlowElements (uint32_t index) |
|
bool | MayHaveEmbedderFields () const |
|
int | GetEmbedderFieldsStartOffset () |
|
int | GetEmbedderFieldCount () const |
|
int | GetEmbedderFieldOffset (int index) |
|
Tagged< Object > | GetEmbedderField (int index) |
|
void | SetEmbedderField (int index, Tagged< Object > value) |
|
void | SetEmbedderField (int index, Tagged< Smi > value) |
|
bool | IsDroppableApiObject () const |
|
void | RequireSlowElements (Tagged< NumberDictionary > dictionary) |
|
Tagged< JSAny > | RawFastPropertyAt (FieldIndex index) const |
|
Tagged< JSAny > | RawFastPropertyAt (PtrComprCageBase cage_base, FieldIndex index) const |
|
Tagged< JSAny > | RawFastPropertyAt (FieldIndex index, SeqCstAccessTag tag) const |
|
Tagged< JSAny > | RawFastPropertyAt (PtrComprCageBase cage_base, FieldIndex index, SeqCstAccessTag tag) const |
|
std::optional< Tagged< Object > > | RawInobjectPropertyAt (PtrComprCageBase cage_base, Tagged< Map > original_map, FieldIndex index) const |
|
void | FastPropertyAtPut (FieldIndex index, Tagged< Object > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
|
void | FastPropertyAtPut (FieldIndex index, Tagged< Object > value, SeqCstAccessTag tag) |
|
void | RawFastInobjectPropertyAtPut (FieldIndex index, Tagged< Object > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
|
void | RawFastInobjectPropertyAtPut (FieldIndex index, Tagged< Object > value, SeqCstAccessTag tag) |
|
void | WriteToField (InternalIndex descriptor, PropertyDetails details, Tagged< Object > value) |
|
Tagged< Object > | RawFastInobjectPropertyAtSwap (FieldIndex index, Tagged< Object > value, SeqCstAccessTag tag) |
|
Tagged< Object > | RawFastPropertyAtSwap (FieldIndex index, Tagged< Object > value, SeqCstAccessTag tag) |
|
Tagged< Object > | RawFastPropertyAtCompareAndSwap (FieldIndex index, Tagged< Object > expected, Tagged< Object > value, SeqCstAccessTag tag) |
|
Tagged< Object > | RawFastInobjectPropertyAtCompareAndSwap (FieldIndex index, Tagged< Object > expected, Tagged< Object > value, SeqCstAccessTag tag) |
|
int | GetInObjectPropertyOffset (int index) |
|
Tagged< Object > | InObjectPropertyAt (int index) |
|
Tagged< Object > | InObjectPropertyAtPut (int index, Tagged< Object > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
|
void | InitializeBody (Tagged< Map > map, int start_offset, bool is_slack_tracking_in_progress, MapWord filler_map, Tagged< Object > undefined_value) |
|
bool | ReferencesObject (Tagged< Object > obj) |
|
void | JSObjectShortPrint (StringStream *accumulator) |
|
void | PrintInstanceMigration (FILE *file, Tagged< Map > original_map, Tagged< Map > new_map) |
|
Tagged< Object > | SlowReverseLookup (Tagged< Object > value) |
|
int | GetFastElementsUsage () |
|
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>) |
HandleType< Object >::MaybeType | DefineOwnPropertyIgnoreAttributes (LookupIterator *it, HandleType< T > value, PropertyAttributes attributes, AccessorInfoHandling handling, EnforceDefineSemantics semantics) |
|
template<PropertyAttributes attrs> |
Maybe< bool > | PreventExtensionsWithTransition (Isolate *isolate, DirectHandle< JSObject > object, ShouldThrow should_throw) |
|
|
enum | AccessorInfoHandling { FORCE_FIELD
, DONT_FORCE_FIELD
} |
|
static bool | IsUnmodifiedApiObject (FullObjectSlot o) |
|
static V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT MaybeHandle< JSObject > | New (DirectHandle< JSFunction > constructor, DirectHandle< JSReceiver > new_target, DirectHandle< AllocationSite > site, NewJSObjectType=NewJSObjectType::kNoAPIWrapper) |
|
static MaybeDirectHandle< JSObject > | NewWithMap (Isolate *isolate, DirectHandle< Map > initial_map, DirectHandle< AllocationSite > site, NewJSObjectType=NewJSObjectType::kNoAPIWrapper) |
|
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSObject > | ObjectCreate (Isolate *isolate, DirectHandle< JSPrototype > prototype) |
|
static void | SetMapAndElements (DirectHandle< JSObject > object, DirectHandle< Map > map, DirectHandle< FixedArrayBase > elements) |
|
static void | EnsureWritableFastElements (DirectHandle< JSObject > object) |
|
static V8_WARN_UNUSED_RESULT Maybe< InterceptorResult > | SetPropertyWithInterceptor (LookupIterator *it, Maybe< ShouldThrow > should_throw, DirectHandle< Object > value) |
|
template<typename T , template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<T>, DirectHandle<T>>) |
static V8_WARN_UNUSED_RESULT HandleType< Object >::MaybeType | DefineOwnPropertyIgnoreAttributes (LookupIterator *it, HandleType< T > value, PropertyAttributes attributes, AccessorInfoHandling handling=DONT_FORCE_FIELD, EnforceDefineSemantics semantics=EnforceDefineSemantics::kSet) |
|
static V8_WARN_UNUSED_RESULT Maybe< bool > | DefineOwnPropertyIgnoreAttributes (LookupIterator *it, DirectHandle< Object > value, PropertyAttributes attributes, Maybe< ShouldThrow > should_throw, AccessorInfoHandling handling=DONT_FORCE_FIELD, EnforceDefineSemantics semantics=EnforceDefineSemantics::kSet, StoreOrigin store_origin=StoreOrigin::kNamed) |
|
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< Object > V8_EXPORT_PRIVATE | SetOwnPropertyIgnoreAttributes (DirectHandle< JSObject > object, DirectHandle< Name > name, DirectHandle< Object > value, PropertyAttributes attributes) |
|
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< Object > | SetOwnElementIgnoreAttributes (DirectHandle< JSObject > object, size_t index, DirectHandle< Object > value, PropertyAttributes attributes) |
|
V8_EXPORT_PRIVATE static V8_WARN_UNUSED_RESULT MaybeDirectHandle< Object > | DefinePropertyOrElementIgnoreAttributes (DirectHandle< JSObject > object, DirectHandle< Name > name, DirectHandle< Object > value, PropertyAttributes attributes=NONE) |
|
static V8_WARN_UNUSED_RESULT Maybe< bool > | CreateDataProperty (Isolate *isolate, DirectHandle< JSObject > object, PropertyKey key, DirectHandle< Object > value, Maybe< ShouldThrow > should_throw=Just(kDontThrow)) |
|
static V8_EXPORT_PRIVATE void | AddProperty (Isolate *isolate, DirectHandle< JSObject > object, DirectHandle< Name > name, DirectHandle< Object > value, PropertyAttributes attributes) |
|
static void | AddProperty (Isolate *isolate, DirectHandle< JSObject > object, const char *name, DirectHandle< Object > value, PropertyAttributes attributes) |
|
static V8_EXPORT_PRIVATE Maybe< bool > | AddDataElement (DirectHandle< JSObject > receiver, uint32_t index, DirectHandle< Object > value, PropertyAttributes attributes) |
|
static void | AllocateStorageForMap (DirectHandle< JSObject > object, DirectHandle< Map > map) |
|
static void | MigrateInstance (Isolate *isolate, DirectHandle< JSObject > instance) |
|
static bool | TryMigrateInstance (Isolate *isolate, DirectHandle< JSObject > instance) |
|
static void | SetNormalizedProperty (DirectHandle< JSObject > object, DirectHandle< Name > name, DirectHandle< Object > value, PropertyDetails details) |
|
static void | SetNormalizedElement (DirectHandle< JSObject > object, uint32_t index, DirectHandle< Object > value, PropertyDetails details) |
|
static void | OptimizeAsPrototype (DirectHandle< JSObject > object, bool enable_setup_mode=true) |
|
static void | ReoptimizeIfPrototype (DirectHandle< JSObject > object) |
|
static void | MakePrototypesFast (DirectHandle< Object > receiver, WhereToStart where_to_start, Isolate *isolate) |
|
static void | LazyRegisterPrototypeUser (DirectHandle< Map > user, Isolate *isolate) |
|
static void | UpdatePrototypeUserRegistration (DirectHandle< Map > old_map, DirectHandle< Map > new_map, Isolate *isolate) |
|
static bool | UnregisterPrototypeUser (DirectHandle< Map > user, Isolate *isolate) |
|
static Tagged< Map > | InvalidatePrototypeChains (Tagged< Map > map) |
|
static void | InvalidatePrototypeValidityCell (Tagged< JSGlobalObject > global) |
|
static void | NotifyMapChange (DirectHandle< Map > old_map, DirectHandle< Map > new_map, Isolate *isolate) |
|
static bool | PrototypeHasNoElements (Isolate *isolate, Tagged< JSObject > object) |
|
static void | PrototypeRegistryCompactionCallback (Tagged< HeapObject > value, int old_index, int new_index) |
|
static V8_WARN_UNUSED_RESULT Maybe< PropertyAttributes > | GetPropertyAttributesWithInterceptor (LookupIterator *it) |
|
static V8_WARN_UNUSED_RESULT Maybe< PropertyAttributes > | GetPropertyAttributesWithFailedAccessCheck (LookupIterator *it) |
|
static V8_EXPORT_PRIVATE MaybeDirectHandle< Object > | DefineOwnAccessorIgnoreAttributes (DirectHandle< JSObject > object, DirectHandle< Name > name, DirectHandle< Object > getter, DirectHandle< Object > setter, PropertyAttributes attributes) |
|
static MaybeDirectHandle< Object > | DefineOwnAccessorIgnoreAttributes (LookupIterator *it, DirectHandle< Object > getter, DirectHandle< Object > setter, PropertyAttributes attributes) |
|
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< Object > | SetAccessor (DirectHandle< JSObject > object, DirectHandle< Name > name, DirectHandle< AccessorInfo > info, PropertyAttributes attributes) |
|
static V8_WARN_UNUSED_RESULT Maybe< bool > | CheckIfCanDefineAsConfigurable (Isolate *isolate, LookupIterator *it, DirectHandle< Object > value, Maybe< ShouldThrow > should_throw) |
|
static V8_WARN_UNUSED_RESULT MaybeHandle< JSAny > | GetPropertyWithInterceptor (LookupIterator *it, bool *done) |
|
static void | ValidateElements (Tagged< JSObject > object) |
|
static void | EnsureCanContainHeapObjectElements (DirectHandle< JSObject > obj) |
|
template<typename TSlot > |
static void | EnsureCanContainElements (DirectHandle< JSObject > object, TSlot elements, uint32_t count, EnsureElementsMode mode) |
|
static void | EnsureCanContainElements (DirectHandle< JSObject > object, DirectHandle< FixedArrayBase > elements, uint32_t length, EnsureElementsMode mode) |
|
static void | EnsureCanContainElements (DirectHandle< JSObject > object, JavaScriptArguments *arguments, uint32_t arg_count, EnsureElementsMode mode) |
|
static constexpr uint32_t | NewElementsCapacity (uint32_t old_capacity) |
|
template<AllocationSiteUpdateMode update_or_check = AllocationSiteUpdateMode::kUpdate> |
static bool | UpdateAllocationSite (DirectHandle< JSObject > object, ElementsKind to_kind) |
|
static V8_WARN_UNUSED_RESULT Maybe< bool > | HasRealNamedProperty (Isolate *isolate, DirectHandle< JSObject > object, DirectHandle< Name > name) |
|
static V8_WARN_UNUSED_RESULT Maybe< bool > | HasRealElementProperty (Isolate *isolate, DirectHandle< JSObject > object, uint32_t index) |
|
static V8_WARN_UNUSED_RESULT Maybe< bool > | HasRealNamedCallbackProperty (Isolate *isolate, DirectHandle< JSObject > object, DirectHandle< Name > name) |
|
static V8_EXPORT_PRIVATE int | GetHeaderSize (InstanceType instance_type, bool function_has_prototype_slot=false) |
|
static int | GetHeaderSize (Tagged< Map > map) |
|
static bool | MayHaveEmbedderFields (Tagged< Map > map) |
|
static int | GetEmbedderFieldsStartOffset (Tagged< Map > map) |
|
static int | GetEmbedderFieldCount (Tagged< Map > map) |
|
static bool | IsDroppableApiObject (Tagged< Map >) |
|
static DirectHandle< Map > | GetElementsTransitionMap (DirectHandle< JSObject > object, ElementsKind to_kind) |
|
static V8_EXPORT_PRIVATE void | TransitionElementsKind (DirectHandle< JSObject > object, ElementsKind to_kind) |
|
static V8_EXPORT_PRIVATE void | MigrateToMap (Isolate *isolate, DirectHandle< JSObject > object, DirectHandle< Map > new_map, int expected_additional_properties=0) |
|
static void | ForceSetPrototype (Isolate *isolate, DirectHandle< JSObject > object, DirectHandle< JSPrototype > proto) |
|
static V8_EXPORT_PRIVATE void | NormalizeProperties (Isolate *isolate, DirectHandle< JSObject > object, PropertyNormalizationMode mode, int expected_additional_properties, bool use_cache, const char *reason) |
|
static V8_EXPORT_PRIVATE void | NormalizeProperties (Isolate *isolate, DirectHandle< JSObject > object, PropertyNormalizationMode mode, int expected_additional_properties, const char *reason) |
|
static V8_EXPORT_PRIVATE DirectHandle< NumberDictionary > | NormalizeElements (DirectHandle< JSObject > object) |
|
static V8_EXPORT_PRIVATE void | MigrateSlowToFast (DirectHandle< JSObject > object, int unused_property_fields, const char *reason) |
|
static Handle< Object > | DictionaryPropertyAt (Isolate *isolate, DirectHandle< JSObject > object, InternalIndex dict_index) |
|
static std::optional< Tagged< Object > > | DictionaryPropertyAt (DirectHandle< JSObject > object, InternalIndex dict_index, Heap *heap) |
|
static Handle< JSAny > | FastPropertyAt (Isolate *isolate, DirectHandle< JSObject > object, Representation representation, FieldIndex index) |
|
static DirectHandle< JSAny > | FastPropertyAt (Isolate *isolate, DirectHandle< JSObject > object, Representation representation, FieldIndex index, SeqCstAccessTag tag) |
|
static V8_WARN_UNUSED_RESULT Maybe< bool > | SetPrototype (Isolate *isolate, DirectHandle< JSObject > object, DirectHandle< Object > value, bool from_javascript, ShouldThrow should_throw) |
|
static void | SetImmutableProto (Isolate *isolate, DirectHandle< JSObject > object) |
|
static V8_WARN_UNUSED_RESULT Maybe< bool > | TestIntegrityLevel (Isolate *isolate, DirectHandle< JSObject > object, IntegrityLevel lvl) |
|
static V8_WARN_UNUSED_RESULT Maybe< bool > | PreventExtensions (Isolate *isolate, DirectHandle< JSObject > object, ShouldThrow should_throw) |
|
static bool | IsExtensible (Isolate *isolate, DirectHandle< JSObject > object) |
|
static MaybeDirectHandle< Object > | ReadFromOptionsBag (DirectHandle< Object > options, DirectHandle< String > option_name, Isolate *isolate) |
|
static void | PrintElementsTransition (FILE *file, DirectHandle< JSObject > object, ElementsKind from_kind, DirectHandle< FixedArrayBase > from_elements, ElementsKind to_kind, DirectHandle< FixedArrayBase > to_elements) |
|
template<typename Dictionary > |
static void | ApplyAttributesToDictionary (Isolate *isolate, ReadOnlyRoots roots, DirectHandle< Dictionary > dictionary, const PropertyAttributes attributes) |
|
Definition at line 1143 of file js-objects.h.