v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <elements.h>
Public Member Functions | |
ElementsAccessor (const char *name) | |
virtual | ~ElementsAccessor () |
virtual ElementsKind | kind () const =0 |
const char * | name () const |
virtual void | Validate (JSObject *obj)=0 |
virtual bool | HasElement (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store=NULL)=0 |
virtual MUST_USE_RESULT Handle < Object > | Get (Handle< Object > receiver, Handle< JSObject > holder, uint32_t key, Handle< FixedArrayBase > backing_store=Handle< FixedArrayBase >::null())=0 |
virtual MUST_USE_RESULT MaybeObject * | Get (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store=NULL)=0 |
virtual MUST_USE_RESULT PropertyAttributes | GetAttributes (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store=NULL)=0 |
virtual MUST_USE_RESULT PropertyType | GetType (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store=NULL)=0 |
virtual MUST_USE_RESULT AccessorPair * | GetAccessorPair (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store=NULL)=0 |
virtual MUST_USE_RESULT Handle < Object > | SetLength (Handle< JSArray > holder, Handle< Object > new_length)=0 |
virtual void | SetCapacityAndLength (Handle< JSArray > array, int capacity, int length)=0 |
virtual MUST_USE_RESULT Handle < Object > | Delete (Handle< JSObject > holder, uint32_t key, JSReceiver::DeleteMode mode)=0 |
virtual void | CopyElements (Handle< JSObject > source_holder, uint32_t source_start, ElementsKind source_kind, Handle< FixedArrayBase > destination, uint32_t destination_start, int copy_size, Handle< FixedArrayBase > source=Handle< FixedArrayBase >::null())=0 |
void | CopyElements (Handle< JSObject > from_holder, Handle< FixedArrayBase > to, ElementsKind from_kind, Handle< FixedArrayBase > from=Handle< FixedArrayBase >::null()) |
virtual MUST_USE_RESULT MaybeObject * | AddElementsToFixedArray (Object *receiver, JSObject *holder, FixedArray *to, FixedArrayBase *from=NULL)=0 |
Static Public Member Functions | |
static ElementsAccessor * | ForKind (ElementsKind elements_kind) |
static ElementsAccessor * | ForArray (FixedArrayBase *array) |
static void | InitializeOncePerProcess () |
static void | TearDown () |
Static Public Attributes | |
static const int | kCopyToEnd = -1 |
static const int | kCopyToEndAndInitializeToHole = -2 |
Protected Member Functions | |
virtual uint32_t | GetCapacity (FixedArrayBase *backing_store)=0 |
virtual uint32_t | GetKeyForIndex (FixedArrayBase *backing_store, uint32_t index)=0 |
Friends | |
class | SloppyArgumentsElementsAccessor |
Definition at line 41 of file elements.h.
|
inlineexplicit |
Definition at line 43 of file elements.h.
|
inlinevirtual |
Definition at line 44 of file elements.h.
|
pure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< TypedElementsAccessor< Kind >, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedDoubleElementsAccessor, ElementsKindTraits< FAST_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >, ElementsAccessorBase< FastHoleySmiElementsAccessor, ElementsKindTraits< FAST_HOLEY_SMI_ELEMENTS > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by FixedArray::AddKeysFromJSArray(), and FixedArray::UnionOfKeys().
|
pure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< TypedElementsAccessor< Kind >, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedDoubleElementsAccessor, ElementsKindTraits< FAST_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >, ElementsAccessorBase< FastHoleySmiElementsAccessor, ElementsKindTraits< FAST_HOLEY_SMI_ELEMENTS > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by v8::internal::BUILTIN(), and ElementsAccessor::CopyElements().
|
inline |
Definition at line 162 of file elements.h.
References ElementsAccessor::CopyElements(), and ElementsAccessor::kCopyToEndAndInitializeToHole.
|
pure virtual |
Implemented in SloppyArgumentsElementsAccessor, DictionaryElementsAccessor, TypedElementsAccessor< Kind >, FastElementsAccessor< FastElementsAccessorSubclass, KindTraits, ElementSize >, FastElementsAccessor< FastPackedDoubleElementsAccessor, ElementsKindTraits< FAST_DOUBLE_ELEMENTS >, kDoubleSize >, FastElementsAccessor< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS >, kPointerSize >, FastElementsAccessor< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS >, kPointerSize >, FastElementsAccessor< FastElementsAccessorSubclass, KindTraits, kPointerSize >, FastElementsAccessor< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS >, kDoubleSize >, FastElementsAccessor< FastHoleySmiElementsAccessor, ElementsKindTraits< FAST_HOLEY_SMI_ELEMENTS >, kPointerSize >, FastElementsAccessor< FastElementsAccessorSubclass, KindTraits, kDoubleSize >, FastElementsAccessor< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS >, kPointerSize >, ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< TypedElementsAccessor< Kind >, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedDoubleElementsAccessor, ElementsKindTraits< FAST_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >, ElementsAccessorBase< FastHoleySmiElementsAccessor, ElementsKindTraits< FAST_HOLEY_SMI_ELEMENTS > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
|
static |
Definition at line 1856 of file elements.cc.
Referenced by SloppyArgumentsElementsAccessor::GetAccessorPairImpl(), SloppyArgumentsElementsAccessor::GetAttributesImpl(), SloppyArgumentsElementsAccessor::GetCapacityImpl(), SloppyArgumentsElementsAccessor::GetImpl(), SloppyArgumentsElementsAccessor::GetTypeImpl(), SloppyArgumentsElementsAccessor::HasElementImpl(), and FixedArray::UnionOfKeys().
|
inlinestatic |
Definition at line 178 of file elements.h.
References ASSERT, and v8::internal::kElementsKindCount.
Referenced by v8::internal::BUILTIN(), v8::internal::ElementsKindToString(), JSObject::GetElementsAccessor(), JSObject::SetFastDoubleElementsCapacityAndLength(), and JSObject::SetFastElementsCapacityAndLength().
|
pure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< TypedElementsAccessor< Kind >, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedDoubleElementsAccessor, ElementsKindTraits< FAST_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >, ElementsAccessorBase< FastHoleySmiElementsAccessor, ElementsKindTraits< FAST_HOLEY_SMI_ELEMENTS > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by v8::internal::BUILTIN(), JSObject::GetElementWithInterceptor(), SloppyArgumentsElementsAccessor::GetImpl(), and SloppyArgumentsElementsAccessor::HasElementImpl().
|
pure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< TypedElementsAccessor< Kind >, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedDoubleElementsAccessor, ElementsKindTraits< FAST_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >, ElementsAccessorBase< FastHoleySmiElementsAccessor, ElementsKindTraits< FAST_HOLEY_SMI_ELEMENTS > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
|
pure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< TypedElementsAccessor< Kind >, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedDoubleElementsAccessor, ElementsKindTraits< FAST_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >, ElementsAccessorBase< FastHoleySmiElementsAccessor, ElementsKindTraits< FAST_HOLEY_SMI_ELEMENTS > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by SloppyArgumentsElementsAccessor::GetAccessorPairImpl().
|
pure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< TypedElementsAccessor< Kind >, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedDoubleElementsAccessor, ElementsKindTraits< FAST_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >, ElementsAccessorBase< FastHoleySmiElementsAccessor, ElementsKindTraits< FAST_HOLEY_SMI_ELEMENTS > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by SloppyArgumentsElementsAccessor::GetAttributesImpl().
|
protectedpure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< TypedElementsAccessor< Kind >, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedDoubleElementsAccessor, ElementsKindTraits< FAST_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >, ElementsAccessorBase< FastHoleySmiElementsAccessor, ElementsKindTraits< FAST_HOLEY_SMI_ELEMENTS > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by SloppyArgumentsElementsAccessor::GetCapacityImpl().
|
protectedpure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< TypedElementsAccessor< Kind >, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedDoubleElementsAccessor, ElementsKindTraits< FAST_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >, ElementsAccessorBase< FastHoleySmiElementsAccessor, ElementsKindTraits< FAST_HOLEY_SMI_ELEMENTS > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
|
pure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< TypedElementsAccessor< Kind >, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedDoubleElementsAccessor, ElementsKindTraits< FAST_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >, ElementsAccessorBase< FastHoleySmiElementsAccessor, ElementsKindTraits< FAST_HOLEY_SMI_ELEMENTS > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by SloppyArgumentsElementsAccessor::GetTypeImpl().
|
pure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< TypedElementsAccessor< Kind >, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedDoubleElementsAccessor, ElementsKindTraits< FAST_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >, ElementsAccessorBase< FastHoleySmiElementsAccessor, ElementsKindTraits< FAST_HOLEY_SMI_ELEMENTS > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
|
static |
Definition at line 1861 of file elements.cc.
References ACCESSOR_ARRAY, ELEMENTS_LIST, v8::internal::kElementsKindCount, and v8::internal::STATIC_ASSERT().
|
pure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< TypedElementsAccessor< Kind >, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedDoubleElementsAccessor, ElementsKindTraits< FAST_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >, ElementsAccessorBase< FastHoleySmiElementsAccessor, ElementsKindTraits< FAST_HOLEY_SMI_ELEMENTS > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
|
inline |
Definition at line 47 of file elements.h.
Referenced by DictionaryElementsAccessor::DeleteCommon(), and v8::internal::ElementsKindToString().
|
pure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< TypedElementsAccessor< Kind >, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedDoubleElementsAccessor, ElementsKindTraits< FAST_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >, ElementsAccessorBase< FastHoleySmiElementsAccessor, ElementsKindTraits< FAST_HOLEY_SMI_ELEMENTS > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by JSArray::Expand().
|
pure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< TypedElementsAccessor< Kind >, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedDoubleElementsAccessor, ElementsKindTraits< FAST_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >, ElementsAccessorBase< FastHoleySmiElementsAccessor, ElementsKindTraits< FAST_HOLEY_SMI_ELEMENTS > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by v8::internal::BUILTIN().
|
static |
Definition at line 1875 of file elements.cc.
References ACCESSOR_DELETE, ELEMENTS_LIST, and v8::internal::NULL.
Referenced by V8::TearDown().
|
pure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< TypedElementsAccessor< Kind >, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedDoubleElementsAccessor, ElementsKindTraits< FAST_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >, ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >, ElementsAccessorBase< FastHoleySmiElementsAccessor, ElementsKindTraits< FAST_HOLEY_SMI_ELEMENTS > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by JSObject::ValidateElements().
|
friend |
Definition at line 189 of file elements.h.
|
static |
Definition at line 142 of file elements.h.
|
static |
Definition at line 147 of file elements.h.
Referenced by v8::internal::BUILTIN(), and ElementsAccessor::CopyElements().