v8
3.14.5(node0.10.28)
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 MaybeObject * | Get (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store=NULL)=0 |
virtual MUST_USE_RESULT MaybeObject * | SetLength (JSArray *holder, Object *new_length)=0 |
virtual MUST_USE_RESULT MaybeObject * | SetCapacityAndLength (JSArray *array, int capacity, int length)=0 |
virtual MUST_USE_RESULT MaybeObject * | Delete (JSObject *holder, uint32_t key, JSReceiver::DeleteMode mode)=0 |
virtual MUST_USE_RESULT MaybeObject * | CopyElements (JSObject *source_holder, uint32_t source_start, FixedArrayBase *destination, ElementsKind destination_kind, uint32_t destination_start, int copy_size, FixedArrayBase *source=NULL)=0 |
MUST_USE_RESULT MaybeObject * | CopyElements (JSObject *from_holder, FixedArrayBase *to, ElementsKind to_kind, FixedArrayBase *from=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 | NonStrictArgumentsElementsAccessor |
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< PixelElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalElementsAccessorSubclass, 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< ExternalUnsignedByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< NonStrictArgumentsElementsAccessor, ElementsKindTraits< NON_STRICT_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< ExternalIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalFloatElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalDoubleElementsAccessor, ElementsKindTraits< Kind > >, 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< PixelElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalElementsAccessorSubclass, 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< ExternalUnsignedByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< NonStrictArgumentsElementsAccessor, ElementsKindTraits< NON_STRICT_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< ExternalIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalFloatElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalDoubleElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by ElementsAccessor::CopyElements(), JSObject::SetFastDoubleElementsCapacityAndLength(), and JSObject::SetFastElementsCapacityAndLength().
|
inline |
Definition at line 119 of file elements.h.
References ElementsAccessor::CopyElements(), and ElementsAccessor::kCopyToEndAndInitializeToHole.
|
pure virtual |
Implemented in NonStrictArgumentsElementsAccessor, DictionaryElementsAccessor, ExternalElementsAccessor< ExternalElementsAccessorSubclass, Kind >, ExternalElementsAccessor< ExternalIntElementsAccessor, EXTERNAL_INT_ELEMENTS >, ExternalElementsAccessor< PixelElementsAccessor, EXTERNAL_PIXEL_ELEMENTS >, ExternalElementsAccessor< ExternalShortElementsAccessor, EXTERNAL_SHORT_ELEMENTS >, ExternalElementsAccessor< ExternalUnsignedByteElementsAccessor, EXTERNAL_UNSIGNED_BYTE_ELEMENTS >, ExternalElementsAccessor< ExternalUnsignedShortElementsAccessor, EXTERNAL_UNSIGNED_SHORT_ELEMENTS >, ExternalElementsAccessor< ExternalFloatElementsAccessor, EXTERNAL_FLOAT_ELEMENTS >, ExternalElementsAccessor< ExternalUnsignedIntElementsAccessor, EXTERNAL_UNSIGNED_INT_ELEMENTS >, ExternalElementsAccessor< ExternalDoubleElementsAccessor, EXTERNAL_DOUBLE_ELEMENTS >, ExternalElementsAccessor< ExternalByteElementsAccessor, EXTERNAL_BYTE_ELEMENTS >, 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< PixelElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalElementsAccessorSubclass, 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< ExternalUnsignedByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< NonStrictArgumentsElementsAccessor, ElementsKindTraits< NON_STRICT_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< ExternalIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalFloatElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalDoubleElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by JSObject::DeleteElement().
|
static |
Definition at line 1573 of file elements.cc.
References v8::internal::DICTIONARY_ELEMENTS, v8::internal::EXTERNAL_BYTE_ARRAY_TYPE, v8::internal::EXTERNAL_BYTE_ELEMENTS, v8::internal::EXTERNAL_DOUBLE_ARRAY_TYPE, v8::internal::EXTERNAL_DOUBLE_ELEMENTS, v8::internal::EXTERNAL_FLOAT_ARRAY_TYPE, v8::internal::EXTERNAL_FLOAT_ELEMENTS, v8::internal::EXTERNAL_INT_ARRAY_TYPE, v8::internal::EXTERNAL_INT_ELEMENTS, v8::internal::EXTERNAL_PIXEL_ARRAY_TYPE, v8::internal::EXTERNAL_PIXEL_ELEMENTS, v8::internal::EXTERNAL_SHORT_ARRAY_TYPE, v8::internal::EXTERNAL_SHORT_ELEMENTS, v8::internal::EXTERNAL_UNSIGNED_BYTE_ARRAY_TYPE, v8::internal::EXTERNAL_UNSIGNED_BYTE_ELEMENTS, v8::internal::EXTERNAL_UNSIGNED_INT_ARRAY_TYPE, v8::internal::EXTERNAL_UNSIGNED_INT_ELEMENTS, v8::internal::EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE, v8::internal::EXTERNAL_UNSIGNED_SHORT_ELEMENTS, v8::internal::FAST_HOLEY_ELEMENTS, v8::internal::FIXED_ARRAY_TYPE, Map::instance_type(), HeapObject::map(), v8::internal::NULL, and UNREACHABLE.
Referenced by NonStrictArgumentsElementsAccessor::CopyElementsImpl(), NonStrictArgumentsElementsAccessor::GetCapacityImpl(), NonStrictArgumentsElementsAccessor::GetImpl(), NonStrictArgumentsElementsAccessor::HasElementImpl(), and FixedArray::UnionOfKeys().
|
inlinestatic |
Definition at line 134 of file elements.h.
References ASSERT, and v8::internal::kElementsKindCount.
Referenced by JSObject::GetElementsAccessor(), HTransitionElementsKind::PrintDataTo(), v8::internal::PrintElementsKind(), JSObject::SetFastDoubleElementsCapacityAndLength(), and JSObject::SetFastElementsCapacityAndLength().
|
pure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< PixelElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalElementsAccessorSubclass, 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< ExternalUnsignedByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< NonStrictArgumentsElementsAccessor, ElementsKindTraits< NON_STRICT_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< ExternalIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalFloatElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalDoubleElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by JSObject::GetElementWithInterceptor(), Object::GetElementWithReceiver(), and NonStrictArgumentsElementsAccessor::GetImpl().
|
protectedpure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< PixelElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalElementsAccessorSubclass, 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< ExternalUnsignedByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< NonStrictArgumentsElementsAccessor, ElementsKindTraits< NON_STRICT_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< ExternalIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalFloatElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalDoubleElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by NonStrictArgumentsElementsAccessor::GetCapacityImpl().
|
protectedpure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< PixelElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalElementsAccessorSubclass, 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< ExternalUnsignedByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< NonStrictArgumentsElementsAccessor, ElementsKindTraits< NON_STRICT_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< ExternalIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalFloatElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalDoubleElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
|
pure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< PixelElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalElementsAccessorSubclass, 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< ExternalUnsignedByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< NonStrictArgumentsElementsAccessor, ElementsKindTraits< NON_STRICT_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< ExternalIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalFloatElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalDoubleElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by JSObject::HasElementWithReceiver().
|
static |
Definition at line 1606 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< PixelElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalElementsAccessorSubclass, 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< ExternalUnsignedByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< NonStrictArgumentsElementsAccessor, ElementsKindTraits< NON_STRICT_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< ExternalIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalFloatElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalDoubleElementsAccessor, ElementsKindTraits< Kind > >, 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::PrintElementsKind().
|
pure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< PixelElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalElementsAccessorSubclass, 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< ExternalUnsignedByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< NonStrictArgumentsElementsAccessor, ElementsKindTraits< NON_STRICT_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< ExternalIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalFloatElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalDoubleElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by Factory::SetElementsCapacityAndLength().
|
pure virtual |
Implemented in ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >, ElementsAccessorBase< PixelElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalElementsAccessorSubclass, 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< ExternalUnsignedByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< NonStrictArgumentsElementsAccessor, ElementsKindTraits< NON_STRICT_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< ExternalIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalFloatElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalDoubleElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by JSArray::SetElementsLength().
|
static |
Definition at line 1620 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< PixelElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalElementsAccessorSubclass, 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< ExternalUnsignedByteElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< FastPackedObjectElementsAccessor, ElementsKindTraits< FAST_ELEMENTS > >, ElementsAccessorBase< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS > >, ElementsAccessorBase< NonStrictArgumentsElementsAccessor, ElementsKindTraits< NON_STRICT_ARGUMENTS_ELEMENTS > >, ElementsAccessorBase< ExternalIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalFloatElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedIntElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalUnsignedShortElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< ExternalDoubleElementsAccessor, ElementsKindTraits< Kind > >, ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >, and ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >.
Referenced by JSObject::ValidateElements().
|
friend |
Definition at line 145 of file elements.h.
|
static |
Definition at line 99 of file elements.h.
Referenced by v8::internal::CopyObjectToObjectElements().
|
static |
Definition at line 104 of file elements.h.
Referenced by ElementsAccessor::CopyElements(), and v8::internal::CopyObjectToObjectElements().