V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::JSArray Class Reference
Inheritance diagram for v8::internal::JSArray:
v8::internal::JSObject v8::internal::JSReceiver v8::internal::HeapObject v8::internal::NeverReadOnlySpaceObject v8::internal::Object v8::internal::JSRegExpResult

Public Member Functions

void set_length (Smi length)
 
bool SetLengthWouldNormalize (uint32_t new_length)
 
bool AllowsSetLength ()
 
bool HasArrayPrototype (Isolate *isolate)
 
- Public Member Functions inherited from v8::internal::JSObject
void initialize_elements ()
 
ElementsKind GetElementsKind () const
 
ElementsAccessorGetElementsAccessor ()
 
bool HasSmiElements ()
 
bool HasObjectElements ()
 
bool HasSmiOrObjectElements ()
 
bool HasFastElements ()
 
bool HasFastPackedElements ()
 
bool HasDoubleElements ()
 
bool HasHoleyElements ()
 
bool HasSloppyArgumentsElements ()
 
bool HasStringWrapperElements ()
 
bool HasDictionaryElements ()
 
bool HasFixedTypedArrayElements ()
 
bool HasFixedUint8ClampedElements ()
 
bool HasFixedArrayElements ()
 
bool HasFixedInt8Elements ()
 
bool HasFixedUint8Elements ()
 
bool HasFixedInt16Elements ()
 
bool HasFixedUint16Elements ()
 
bool HasFixedInt32Elements ()
 
bool HasFixedUint32Elements ()
 
bool HasFixedFloat32Elements ()
 
bool HasFixedFloat64Elements ()
 
bool HasFixedBigInt64Elements ()
 
bool HasFixedBigUint64Elements ()
 
bool HasFastArgumentsElements ()
 
bool HasSlowArgumentsElements ()
 
bool HasFastStringWrapperElements ()
 
bool HasSlowStringWrapperElements ()
 
bool HasEnumerableElements ()
 
NumberDictionary element_dictionary ()
 
InterceptorInfoGetNamedInterceptor ()
 
InterceptorInfoGetIndexedInterceptor ()
 
bool WouldConvertToSlowElements (uint32_t index)
 
bool HasNamedInterceptor ()
 
bool HasIndexedInterceptor ()
 
int GetHeaderSize () const
 
int GetEmbedderFieldCount () const
 
int GetEmbedderFieldOffset (int index)
 
ObjectGetEmbedderField (int index)
 
void SetEmbedderField (int index, Object *value)
 
void SetEmbedderField (int index, Smi value)
 
bool IsApiWrapper ()
 
bool IsDroppableApiWrapper ()
 
void RequireSlowElements (NumberDictionary dictionary)
 
bool IsUnboxedDoubleField (FieldIndex index)
 
ObjectRawFastPropertyAt (FieldIndex index)
 
double RawFastDoublePropertyAt (FieldIndex index)
 
uint64_t RawFastDoublePropertyAsBitsAt (FieldIndex index)
 
void FastPropertyAtPut (FieldIndex index, Object *value)
 
void RawFastPropertyAtPut (FieldIndex index, Object *value)
 
void RawFastDoublePropertyAsBitsAtPut (FieldIndex index, uint64_t bits)
 
void WriteToField (int descriptor, PropertyDetails details, Object *value)
 
int GetInObjectPropertyOffset (int index)
 
ObjectInObjectPropertyAt (int index)
 
ObjectInObjectPropertyAtPut (int index, Object *value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
void InitializeBody (Map map, int start_offset, Object *pre_allocated_value, Object *filler_value)
 
bool ReferencesObject (Object *obj)
 
void JSObjectShortPrint (StringStream *accumulator)
 
void PrintInstanceMigration (FILE *file, Map original_map, Map new_map)
 
ObjectSlowReverseLookup (Object *value)
 
 STATIC_ASSERT (kMaxNumberOfDescriptors+kFieldsAdded<=PropertyArray::kMaxLength)
 
 STATIC_ASSERT (kHeaderSize==Internals::kJSObjectHeaderSize)
 
 STATIC_ASSERT (kMaxInObjectProperties<=kMaxNumberOfDescriptors)
 
 STATIC_ASSERT (kMaxEmbedderFields<=kMaxInObjectProperties)
 
int GetFastElementsUsage ()
 
template<PropertyAttributes attrs>
Maybe< boolPreventExtensionsWithTransition (Handle< JSObject > object, ShouldThrow should_throw)
 
- Public Member Functions inherited from v8::internal::JSReceiver
bool HasFastProperties () const
 
PropertyArray property_array () const
 
NameDictionary property_dictionary () const
 
void SetProperties (HeapObject *properties)
 
void initialize_properties ()
 
V8_EXPORT_PRIVATE String class_name ()
 
Handle< ContextGetCreationContext ()
 
ObjectGetIdentityHash ()
 
Smi GetOrCreateIdentityHash (Isolate *isolate)
 
void SetIdentityHash (int masked_hash)
 
bool HasProxyInPrototype (Isolate *isolate)
 
bool HasComplexElements ()
 
- Public Member Functions inherited from v8::internal::HeapObject
Map map () const
 
void set_map (Map value)
 
ObjectSlot map_slot ()
 
void set_map_no_write_barrier (Map value)
 
Map synchronized_map () const
 
MapWord synchronized_map_word () const
 
void synchronized_set_map (Map value)
 
void synchronized_set_map_word (MapWord map_word)
 
void set_map_after_allocation (Map value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
MapWord map_word () const
 
void set_map_word (MapWord map_word)
 
ReadOnlyRoots GetReadOnlyRoots () const
 
V8_INLINE bool IsExternal (Isolate *isolate) const
 
V8_INLINE bool IsNullOrUndefined (Isolate *isolate) const
 
V8_INLINE bool IsNullOrUndefined (ReadOnlyRoots roots) const
 
V8_INLINE bool IsNullOrUndefined () const
 
Address address () const
 
void Iterate (ObjectVisitor *v)
 
template<typename ObjectVisitor >
void IterateFast (ObjectVisitor *v)
 
void IterateBody (ObjectVisitor *v)
 
void IterateBody (Map map, int object_size, ObjectVisitor *v)
 
template<typename ObjectVisitor >
void IterateBodyFast (ObjectVisitor *v)
 
template<typename ObjectVisitor >
void IterateBodyFast (Map map, int object_size, ObjectVisitor *v)
 
bool IsValidSlot (Map map, int offset)
 
int Size () const
 
int SizeFromMap (Map map) const
 
ObjectSlot RawField (int byte_offset) const
 
MaybeObjectSlot RawMaybeWeakField (int byte_offset) const
 
WriteBarrierMode GetWriteBarrierMode (const DisallowHeapAllocation &promise)
 
void HeapObjectShortPrint (std::ostream &os)
 
bool NeedsRehashing () const
 
bool CanBeRehashed () const
 
void RehashBasedOnMap (Isolate *isolate)
 
 STATIC_ASSERT (kMapOffset==Internals::kHeapObjectMapOffset)
 
Address GetFieldAddress (int field_offset) const
 
- Public Member Functions inherited from v8::internal::Object
bool IsObject () const
 
Address ptr () const
 
V8_INLINE bool IsExternal (Isolate *isolate) const
 
V8_INLINE bool IsNullOrUndefined (Isolate *isolate) const
 
V8_INLINE bool IsNullOrUndefined (ReadOnlyRoots roots) const
 
V8_INLINE bool IsNullOrUndefined () const
 
V8_INLINE bool IsSmallOrderedHashTable () const
 
double Number () const
 
V8_INLINE bool IsNaN () const
 
V8_INLINE bool IsMinusZero () const
 
V8_EXPORT_PRIVATE bool ToInt32 (int32_t *value)
 
bool ToUint32 (uint32_t *value) const
 
Representation OptimalRepresentation ()
 
ElementsKind OptimalElementsKind ()
 
bool FitsRepresentation (Representation representation)
 
bool KeyEquals (Object *other)
 
bool FilterKey (PropertyFilter filter)
 
Handle< FieldTypeOptimalType (Isolate *isolate, Representation representation)
 
bool HasValidElements ()
 
bool BooleanValue (Isolate *isolate)
 
bool StrictEquals (Object *that)
 
ObjectGetHash ()
 
Smi GetOrCreateHash (Isolate *isolate)
 
V8_EXPORT_PRIVATE bool SameValue (Object *other)
 
bool SameValueZero (Object *other)
 
bool ToArrayLength (uint32_t *index) const
 
V8_WARN_UNUSED_RESULT bool ToArrayIndex (uint32_t *index) const
 
bool IterationHasObservableEffects ()
 
void VerifyApiCallResultType ()
 
void ShortPrint (FILE *out=stdout)
 
void ShortPrint (StringStream *accumulator)
 
void ShortPrint (std::ostream &os)
 
void Print ()
 
void Print (std::ostream &os)
 
- Public Member Functions inherited from v8::internal::NeverReadOnlySpaceObject
HeapGetHeap () const
 
IsolateGetIsolate () const
 

Static Public Member Functions

static bool HasReadOnlyLength (Handle< JSArray > array)
 
static bool WouldChangeReadOnlyLength (Handle< JSArray > array, uint32_t index)
 
static void Initialize (Handle< JSArray > array, int capacity, int length=0)
 
static bool SetLengthWouldNormalize (Heap *heap, uint32_t new_length)
 
static void SetLength (Handle< JSArray > array, uint32_t length)
 
static void SetContent (Handle< JSArray > array, Handle< FixedArrayBase > storage)
 
static V8_WARN_UNUSED_RESULT Maybe< boolDefineOwnProperty (Isolate *isolate, Handle< JSArray > o, Handle< Object > name, PropertyDescriptor *desc, ShouldThrow should_throw)
 
static bool AnythingToArrayLength (Isolate *isolate, Handle< Object > length_object, uint32_t *output)
 
static V8_WARN_UNUSED_RESULT Maybe< boolArraySetLength (Isolate *isolate, Handle< JSArray > a, PropertyDescriptor *desc, ShouldThrow should_throw)
 
static Address ArrayJoinConcatToSequentialString (Isolate *isolate, Address raw_fixed_array, intptr_t length, Address raw_separator, Address raw_dest)
 
- Static Public Member Functions inherited from v8::internal::JSObject
static bool IsUnmodifiedApiObject (ObjectSlot o)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< JSObjectNew (Handle< JSFunction > constructor, Handle< JSReceiver > new_target, Handle< AllocationSite > site)
 
static MaybeHandle< ContextGetFunctionRealm (Handle< JSObject > object)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< JSObjectObjectCreate (Isolate *isolate, Handle< Object > prototype)
 
static void SetMapAndElements (Handle< JSObject > object, Handle< Map > map, Handle< FixedArrayBase > elements)
 
static void EnsureWritableFastElements (Handle< JSObject > object)
 
static V8_WARN_UNUSED_RESULT Maybe< boolSetPropertyWithInterceptor (LookupIterator *it, ShouldThrow should_throw, Handle< Object > value)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectDefineOwnPropertyIgnoreAttributes (LookupIterator *it, Handle< Object > value, PropertyAttributes attributes, AccessorInfoHandling handling=DONT_FORCE_FIELD)
 
static V8_WARN_UNUSED_RESULT Maybe< boolDefineOwnPropertyIgnoreAttributes (LookupIterator *it, Handle< Object > value, PropertyAttributes attributes, ShouldThrow should_throw, AccessorInfoHandling handling=DONT_FORCE_FIELD)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectSetOwnPropertyIgnoreAttributes (Handle< JSObject > object, Handle< Name > name, Handle< Object > value, PropertyAttributes attributes)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectSetOwnElementIgnoreAttributes (Handle< JSObject > object, uint32_t index, Handle< Object > value, PropertyAttributes attributes)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectDefinePropertyOrElementIgnoreAttributes (Handle< JSObject > object, Handle< Name > name, Handle< Object > value, PropertyAttributes attributes=NONE)
 
static V8_WARN_UNUSED_RESULT Maybe< boolCreateDataProperty (LookupIterator *it, Handle< Object > value, ShouldThrow should_throw=kDontThrow)
 
static void AddProperty (Isolate *isolate, Handle< JSObject > object, Handle< Name > name, Handle< Object > value, PropertyAttributes attributes)
 
static void AddDataElement (Handle< JSObject > receiver, uint32_t index, Handle< Object > value, PropertyAttributes attributes)
 
static void AllocateStorageForMap (Handle< JSObject > object, Handle< Map > map)
 
static void MigrateInstance (Handle< JSObject > instance)
 
static bool TryMigrateInstance (Handle< JSObject > instance)
 
static void SetNormalizedProperty (Handle< JSObject > object, Handle< Name > name, Handle< Object > value, PropertyDetails details)
 
static void SetDictionaryElement (Handle< JSObject > object, uint32_t index, Handle< Object > value, PropertyAttributes attributes)
 
static void SetDictionaryArgumentsElement (Handle< JSObject > object, uint32_t index, Handle< Object > value, PropertyAttributes attributes)
 
static void OptimizeAsPrototype (Handle< JSObject > object, bool enable_setup_mode=true)
 
static void ReoptimizeIfPrototype (Handle< JSObject > object)
 
static void MakePrototypesFast (Handle< Object > receiver, WhereToStart where_to_start, Isolate *isolate)
 
static void LazyRegisterPrototypeUser (Handle< Map > user, Isolate *isolate)
 
static void UpdatePrototypeUserRegistration (Handle< Map > old_map, Handle< Map > new_map, Isolate *isolate)
 
static bool UnregisterPrototypeUser (Handle< Map > user, Isolate *isolate)
 
static Map InvalidatePrototypeChains (Map map)
 
static void InvalidatePrototypeValidityCell (JSGlobalObject *global)
 
static void NotifyMapChange (Handle< Map > old_map, Handle< Map > new_map, Isolate *isolate)
 
static bool PrototypeHasNoElements (Isolate *isolate, JSObject *object)
 
static void PrototypeRegistryCompactionCallback (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 MaybeHandle< ObjectDefineAccessor (Handle< JSObject > object, Handle< Name > name, Handle< Object > getter, Handle< Object > setter, PropertyAttributes attributes)
 
static MaybeHandle< ObjectDefineAccessor (LookupIterator *it, Handle< Object > getter, Handle< Object > setter, PropertyAttributes attributes)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectSetAccessor (Handle< JSObject > object, Handle< Name > name, Handle< AccessorInfo > info, PropertyAttributes attributes)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetPropertyWithInterceptor (LookupIterator *it, bool *done)
 
static void ValidateElements (JSObject *object)
 
static void EnsureCanContainHeapObjectElements (Handle< JSObject > obj)
 
static void EnsureCanContainElements (Handle< JSObject > object, ObjectSlot elements, uint32_t count, EnsureElementsMode mode)
 
static void EnsureCanContainElements (Handle< JSObject > object, Handle< FixedArrayBase > elements, uint32_t length, EnsureElementsMode mode)
 
static void EnsureCanContainElements (Handle< JSObject > object, Arguments *arguments, uint32_t first_arg, uint32_t arg_count, EnsureElementsMode mode)
 
static uint32_t NewElementsCapacity (uint32_t old_capacity)
 
template<AllocationSiteUpdateMode update_or_check = AllocationSiteUpdateMode::kUpdate>
static bool UpdateAllocationSite (Handle< JSObject > object, ElementsKind to_kind)
 
static V8_WARN_UNUSED_RESULT Maybe< boolHasRealNamedProperty (Handle< JSObject > object, Handle< Name > name)
 
static V8_WARN_UNUSED_RESULT Maybe< boolHasRealElementProperty (Handle< JSObject > object, uint32_t index)
 
static V8_WARN_UNUSED_RESULT Maybe< boolHasRealNamedCallbackProperty (Handle< JSObject > object, Handle< Name > name)
 
static int GetHeaderSize (InstanceType instance_type, bool function_has_prototype_slot=false)
 
static int GetHeaderSize (const Map map)
 
static int GetEmbedderFieldCount (const Map map)
 
static Handle< MapGetElementsTransitionMap (Handle< JSObject > object, ElementsKind to_kind)
 
static void TransitionElementsKind (Handle< JSObject > object, ElementsKind to_kind)
 
static void MigrateToMap (Handle< JSObject > object, Handle< Map > new_map, int expected_additional_properties=0)
 
static void ForceSetPrototype (Handle< JSObject > object, Handle< Object > proto)
 
static void NormalizeProperties (Handle< JSObject > object, PropertyNormalizationMode mode, int expected_additional_properties, const char *reason)
 
static Handle< NumberDictionaryNormalizeElements (Handle< JSObject > object)
 
static void MigrateSlowToFast (Handle< JSObject > object, int unused_property_fields, const char *reason)
 
static Handle< ObjectFastPropertyAt (Handle< JSObject > object, Representation representation, FieldIndex index)
 
static V8_WARN_UNUSED_RESULT Maybe< boolSetPrototype (Handle< JSObject > object, Handle< Object > value, bool from_javascript, ShouldThrow should_throw)
 
static void SetImmutableProto (Handle< JSObject > object)
 
static V8_WARN_UNUSED_RESULT Maybe< boolTestIntegrityLevel (Handle< JSObject > object, IntegrityLevel lvl)
 
static V8_WARN_UNUSED_RESULT Maybe< boolPreventExtensions (Handle< JSObject > object, ShouldThrow should_throw)
 
static bool IsExtensible (Handle< JSObject > object)
 
static void PrintElementsTransition (FILE *file, Handle< JSObject > object, ElementsKind from_kind, Handle< FixedArrayBase > from_elements, ElementsKind to_kind, Handle< FixedArrayBase > to_elements)
 
static bool AllCanRead (LookupIterator *it)
 
static bool AllCanWrite (LookupIterator *it)
 
- Static Public Member Functions inherited from v8::internal::JSReceiver
static void DeleteNormalizedProperty (Handle< JSReceiver > object, int entry)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectToPrimitive (Handle< JSReceiver > receiver, ToPrimitiveHint hint=ToPrimitiveHint::kDefault)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectOrdinaryToPrimitive (Handle< JSReceiver > receiver, OrdinaryToPrimitiveHint hint)
 
static MaybeHandle< ContextGetFunctionRealm (Handle< JSReceiver > receiver)
 
static MaybeHandle< ObjectGetPrototype (Isolate *isolate, Handle< JSReceiver > receiver)
 
static V8_WARN_UNUSED_RESULT Maybe< boolHasInPrototypeChain (Isolate *isolate, Handle< JSReceiver > object, Handle< Object > proto)
 
static V8_WARN_UNUSED_RESULT Maybe< boolSetOrCopyDataProperties (Isolate *isolate, Handle< JSReceiver > target, Handle< Object > source, const ScopedVector< Handle< Object >> *excluded_properties=nullptr, bool use_set=true)
 
static V8_WARN_UNUSED_RESULT Maybe< boolHasProperty (LookupIterator *it)
 
static V8_WARN_UNUSED_RESULT Maybe< boolHasProperty (Handle< JSReceiver > object, Handle< Name > name)
 
static V8_WARN_UNUSED_RESULT Maybe< boolHasElement (Handle< JSReceiver > object, uint32_t index)
 
static V8_WARN_UNUSED_RESULT Maybe< boolHasOwnProperty (Handle< JSReceiver > object, Handle< Name > name)
 
static V8_WARN_UNUSED_RESULT Maybe< boolHasOwnProperty (Handle< JSReceiver > object, uint32_t index)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetProperty (Isolate *isolate, Handle< JSReceiver > receiver, const char *key)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetProperty (Isolate *isolate, Handle< JSReceiver > receiver, Handle< Name > name)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetElement (Isolate *isolate, Handle< JSReceiver > receiver, uint32_t index)
 
static V8_WARN_UNUSED_RESULT Maybe< boolDeletePropertyOrElement (Handle< JSReceiver > object, Handle< Name > name, LanguageMode language_mode=LanguageMode::kSloppy)
 
static V8_WARN_UNUSED_RESULT Maybe< boolDeleteProperty (Handle< JSReceiver > object, Handle< Name > name, LanguageMode language_mode=LanguageMode::kSloppy)
 
static V8_WARN_UNUSED_RESULT Maybe< boolDeleteProperty (LookupIterator *it, LanguageMode language_mode)
 
static V8_WARN_UNUSED_RESULT Maybe< boolDeleteElement (Handle< JSReceiver > object, uint32_t index, LanguageMode language_mode=LanguageMode::kSloppy)
 
static V8_WARN_UNUSED_RESULT ObjectDefineProperty (Isolate *isolate, Handle< Object > object, Handle< Object > name, Handle< Object > attributes)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectDefineProperties (Isolate *isolate, Handle< Object > object, Handle< Object > properties)
 
static V8_WARN_UNUSED_RESULT Maybe< boolDefineOwnProperty (Isolate *isolate, Handle< JSReceiver > object, Handle< Object > key, PropertyDescriptor *desc, ShouldThrow should_throw)
 
static V8_WARN_UNUSED_RESULT Maybe< boolCreateDataProperty (Isolate *isolate, Handle< JSReceiver > object, Handle< Name > key, Handle< Object > value, ShouldThrow should_throw)
 
static V8_WARN_UNUSED_RESULT Maybe< boolCreateDataProperty (LookupIterator *it, Handle< Object > value, ShouldThrow should_throw)
 
static V8_WARN_UNUSED_RESULT Maybe< boolOrdinaryDefineOwnProperty (Isolate *isolate, Handle< JSObject > object, Handle< Object > key, PropertyDescriptor *desc, ShouldThrow should_throw)
 
static V8_WARN_UNUSED_RESULT Maybe< boolOrdinaryDefineOwnProperty (LookupIterator *it, PropertyDescriptor *desc, ShouldThrow should_throw)
 
static V8_WARN_UNUSED_RESULT Maybe< boolIsCompatiblePropertyDescriptor (Isolate *isolate, bool extensible, PropertyDescriptor *desc, PropertyDescriptor *current, Handle< Name > property_name, ShouldThrow should_throw)
 
static V8_WARN_UNUSED_RESULT Maybe< boolValidateAndApplyPropertyDescriptor (Isolate *isolate, LookupIterator *it, bool extensible, PropertyDescriptor *desc, PropertyDescriptor *current, ShouldThrow should_throw, Handle< Name > property_name)
 
V8_EXPORT_PRIVATE static V8_WARN_UNUSED_RESULT Maybe< boolGetOwnPropertyDescriptor (Isolate *isolate, Handle< JSReceiver > object, Handle< Object > key, PropertyDescriptor *desc)
 
static V8_WARN_UNUSED_RESULT Maybe< boolGetOwnPropertyDescriptor (LookupIterator *it, PropertyDescriptor *desc)
 
static V8_WARN_UNUSED_RESULT Maybe< boolSetIntegrityLevel (Handle< JSReceiver > object, IntegrityLevel lvl, ShouldThrow should_throw)
 
static V8_WARN_UNUSED_RESULT Maybe< boolTestIntegrityLevel (Handle< JSReceiver > object, IntegrityLevel lvl)
 
static V8_WARN_UNUSED_RESULT Maybe< boolPreventExtensions (Handle< JSReceiver > object, ShouldThrow should_throw)
 
static V8_WARN_UNUSED_RESULT Maybe< boolIsExtensible (Handle< JSReceiver > object)
 
static MaybeHandle< JSFunctionGetConstructor (Handle< JSReceiver > receiver)
 
static Handle< StringGetConstructorName (Handle< JSReceiver > receiver)
 
static V8_WARN_UNUSED_RESULT Maybe< PropertyAttributes > GetPropertyAttributes (Handle< JSReceiver > object, Handle< Name > name)
 
static V8_WARN_UNUSED_RESULT Maybe< PropertyAttributes > GetOwnPropertyAttributes (Handle< JSReceiver > object, Handle< Name > name)
 
static V8_WARN_UNUSED_RESULT Maybe< PropertyAttributes > GetOwnPropertyAttributes (Handle< JSReceiver > object, uint32_t index)
 
static V8_WARN_UNUSED_RESULT Maybe< PropertyAttributes > GetElementAttributes (Handle< JSReceiver > object, uint32_t index)
 
static V8_WARN_UNUSED_RESULT Maybe< PropertyAttributes > GetOwnElementAttributes (Handle< JSReceiver > object, uint32_t index)
 
static V8_WARN_UNUSED_RESULT Maybe< PropertyAttributes > GetPropertyAttributes (LookupIterator *it)
 
static V8_WARN_UNUSED_RESULT Maybe< boolSetPrototype (Handle< JSReceiver > object, Handle< Object > value, bool from_javascript, ShouldThrow should_throw)
 
static Handle< ObjectGetDataProperty (Handle< JSReceiver > object, Handle< Name > name)
 
static Handle< ObjectGetDataProperty (LookupIterator *it)
 
static Smi CreateIdentityHash (Isolate *isolate, JSReceiver *key)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< FixedArrayOwnPropertyKeys (Handle< JSReceiver > object)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< FixedArrayGetOwnValues (Handle< JSReceiver > object, PropertyFilter filter, bool try_fast_path=true)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< FixedArrayGetOwnEntries (Handle< JSReceiver > object, PropertyFilter filter, bool try_fast_path=true)
 
static V8_WARN_UNUSED_RESULT Handle< FixedArrayGetOwnElementIndices (Isolate *isolate, Handle< JSReceiver > receiver, Handle< JSObject > object)
 
- Static Public Member Functions inherited from v8::internal::HeapObject
static HeapObjectFromAddress (Address address)
 
static ObjectSlot RawField (const HeapObject *obj, int offset)
 
static MaybeObjectSlot RawMaybeWeakField (HeapObject *obj, int offset)
 
static AllocationAlignment RequiredAlignment (Map map)
 
- Static Public Member Functions inherited from v8::internal::Object
V8_INLINE static V8_WARN_UNUSED_RESULT Maybe< boolIsArray (Handle< Object > object)
 
static Handle< ObjectNewStorageFor (Isolate *isolate, Handle< Object > object, Representation representation)
 
static Handle< ObjectWrapForRead (Isolate *isolate, Handle< Object > object, Representation representation)
 
static V8_WARN_UNUSED_RESULT Maybe< ComparisonResult > Compare (Isolate *isolate, Handle< Object > x, Handle< Object > y)
 
static V8_WARN_UNUSED_RESULT Maybe< boolEquals (Isolate *isolate, Handle< Object > x, Handle< Object > y)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< JSReceiverToObject (Isolate *isolate, Handle< Object > object, const char *method_name=nullptr)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< JSReceiverToObject (Isolate *isolate, Handle< Object > object, Handle< Context > native_context, const char *method_name=nullptr)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< JSReceiverConvertReceiver (Isolate *isolate, Handle< Object > object)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< NameToName (Isolate *isolate, Handle< Object > input)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectToPrimitive (Handle< Object > input, ToPrimitiveHint hint=ToPrimitiveHint::kDefault)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectToNumber (Isolate *isolate, Handle< Object > input)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectToNumeric (Isolate *isolate, Handle< Object > input)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectToInteger (Isolate *isolate, Handle< Object > input)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectToInt32 (Isolate *isolate, Handle< Object > input)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectToUint32 (Isolate *isolate, Handle< Object > input)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< StringToString (Isolate *isolate, Handle< Object > input)
 
static Handle< StringNoSideEffectsToString (Isolate *isolate, Handle< Object > input)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectToPropertyKey (Isolate *isolate, Handle< Object > value)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectToLength (Isolate *isolate, Handle< Object > input)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectToIndex (Isolate *isolate, Handle< Object > input, MessageTemplate error_index)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetMethod (Handle< JSReceiver > receiver, Handle< Name > name)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< FixedArrayCreateListFromArrayLike (Isolate *isolate, Handle< Object > object, ElementTypes element_types)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetLengthFromArrayLike (Isolate *isolate, Handle< JSReceiver > object)
 
static Handle< StringTypeOf (Isolate *isolate, Handle< Object > object)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectAdd (Isolate *isolate, Handle< Object > lhs, Handle< Object > rhs)
 
static V8_WARN_UNUSED_RESULT Maybe< boolGreaterThan (Isolate *isolate, Handle< Object > x, Handle< Object > y)
 
static V8_WARN_UNUSED_RESULT Maybe< boolGreaterThanOrEqual (Isolate *isolate, Handle< Object > x, Handle< Object > y)
 
static V8_WARN_UNUSED_RESULT Maybe< boolLessThan (Isolate *isolate, Handle< Object > x, Handle< Object > y)
 
static V8_WARN_UNUSED_RESULT Maybe< boolLessThanOrEqual (Isolate *isolate, Handle< Object > x, Handle< Object > y)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectOrdinaryHasInstance (Isolate *isolate, Handle< Object > callable, Handle< Object > object)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectInstanceOf (Isolate *isolate, Handle< Object > object, Handle< Object > callable)
 
V8_EXPORT_PRIVATE static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetProperty (LookupIterator *it, OnNonExistent on_non_existent=OnNonExistent::kReturnUndefined)
 
static V8_WARN_UNUSED_RESULT Maybe< boolSetProperty (LookupIterator *it, Handle< Object > value, LanguageMode language_mode, StoreOrigin store_origin)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectSetProperty (Isolate *isolate, Handle< Object > object, Handle< Name > name, Handle< Object > value, LanguageMode language_mode, StoreOrigin store_origin=StoreOrigin::kMaybeKeyed)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectSetPropertyOrElement (Isolate *isolate, Handle< Object > object, Handle< Name > name, Handle< Object > value, LanguageMode language_mode, StoreOrigin store_origin=StoreOrigin::kMaybeKeyed)
 
static V8_WARN_UNUSED_RESULT Maybe< boolSetSuperProperty (LookupIterator *it, Handle< Object > value, LanguageMode language_mode, StoreOrigin store_origin)
 
static V8_WARN_UNUSED_RESULT Maybe< boolCannotCreateProperty (Isolate *isolate, Handle< Object > receiver, Handle< Object > name, Handle< Object > value, ShouldThrow should_throw)
 
static V8_WARN_UNUSED_RESULT Maybe< boolWriteToReadOnlyProperty (LookupIterator *it, Handle< Object > value, ShouldThrow should_throw)
 
static V8_WARN_UNUSED_RESULT Maybe< boolWriteToReadOnlyProperty (Isolate *isolate, Handle< Object > receiver, Handle< Object > name, Handle< Object > value, ShouldThrow should_throw)
 
static V8_WARN_UNUSED_RESULT Maybe< boolRedefineIncompatibleProperty (Isolate *isolate, Handle< Object > name, Handle< Object > value, ShouldThrow should_throw)
 
static V8_WARN_UNUSED_RESULT Maybe< boolSetDataProperty (LookupIterator *it, Handle< Object > value)
 
static V8_WARN_UNUSED_RESULT Maybe< boolAddDataProperty (LookupIterator *it, Handle< Object > value, PropertyAttributes attributes, ShouldThrow should_throw, StoreOrigin store_origin)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetPropertyOrElement (Isolate *isolate, Handle< Object > object, Handle< Name > name)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetPropertyOrElement (Handle< Object > receiver, Handle< Name > name, Handle< JSReceiver > holder)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetProperty (Isolate *isolate, Handle< Object > object, Handle< Name > name)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetPropertyWithAccessor (LookupIterator *it)
 
static V8_WARN_UNUSED_RESULT Maybe< boolSetPropertyWithAccessor (LookupIterator *it, Handle< Object > value, ShouldThrow should_throw)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetPropertyWithDefinedGetter (Handle< Object > receiver, Handle< JSReceiver > getter)
 
static V8_WARN_UNUSED_RESULT Maybe< boolSetPropertyWithDefinedSetter (Handle< Object > receiver, Handle< JSReceiver > setter, Handle< Object > value, ShouldThrow should_throw)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectGetElement (Isolate *isolate, Handle< Object > object, uint32_t index)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectSetElement (Isolate *isolate, Handle< Object > object, uint32_t index, Handle< Object > value, LanguageMode language_mode)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectArraySpeciesConstructor (Isolate *isolate, Handle< Object > original_array)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectSpeciesConstructor (Isolate *isolate, Handle< JSReceiver > recv, Handle< JSFunction > default_ctor)
 

Static Public Attributes

static const int kPreallocatedArrayElements = 4
 
static const int kLengthDescriptorIndex = 0
 
static const int kMaxCopyElements = 100
 
static const uint32_t kMaxFastArrayLength = 32 * 1024 * 1024
 
static const uint32_t kMinJoinStackSize = 2
 
static const int kInitialMaxFastElementArray
 
static const uint32_t kMaxArrayIndex = kMaxUInt32 - 1
 
- Static Public Attributes inherited from v8::internal::JSObject
static const uint32_t kMinAddedElementsCapacity = 16
 
static const uint32_t kMaxElementCount = 0xffffffffu
 
static const uint32_t kMaxGap = 1024
 
static const int kMaxUncheckedFastElementsLength = 5000
 
static const int kMaxUncheckedOldFastElementsLength = 500
 
static const int kInitialGlobalObjectUnusedPropertiesCount = 4
 
static const int kMaxInstanceSize = 255 * kPointerSize
 
static const int kFieldsAdded = 3
 
static const int kElementsOffset = JSReceiver::kHeaderSize
 
static const int kHeaderSize = kElementsOffset + kPointerSize
 
static const int kMaxInObjectProperties
 
static const int kMaxEmbedderFields
 
- Static Public Attributes inherited from v8::internal::JSReceiver
static const int kHashMask = PropertyArray::HashField::kMask
 
static const int kPropertiesOrHashOffset = HeapObject::kHeaderSize
 
static const int kHeaderSize = HeapObject::kHeaderSize + kPointerSize
 
- Static Public Attributes inherited from v8::internal::HeapObject
static const int kMapOffset = Object::kHeaderSize
 
static const int kHeaderSize = kMapOffset + kPointerSize
 
- Static Public Attributes inherited from v8::internal::Object
static const int kHeaderSize = 0
 

Additional Inherited Members

- Public Types inherited from v8::internal::JSObject
enum  AccessorInfoHandling { FORCE_FIELD, DONT_FORCE_FIELD }
 
- Public Types inherited from v8::internal::JSReceiver
typedef PropertyAttributes IntegrityLevel
 
- Public Types inherited from v8::internal::Object
enum  Conversion { kToNumber, kToNumeric }
 

Detailed Description

Definition at line 23 of file js-array.h.

Member Data Documentation

◆ kInitialMaxFastElementArray

const int v8::internal::JSArray::kInitialMaxFastElementArray
static
Initial value:
=
(kMaxRegularHeapObjectSize - FixedArray::kHeaderSize - kSize -
AllocationMemento::kSize) >>
kDoubleSizeLog2

Definition at line 127 of file js-array.h.


The documentation for this class was generated from the following files: