V8 Project
|
Public Member Functions | |
DictionaryElementsAccessor (const char *name) | |
![]() | |
ElementsAccessor (const char *name) | |
virtual | ~ElementsAccessor () |
const char * | name () const |
bool | HasElement (Handle< Object > receiver, Handle< JSObject > holder, uint32_t key) |
MUST_USE_RESULT MaybeHandle< Object > | Get (Handle< Object > receiver, Handle< JSObject > holder, uint32_t key) |
MUST_USE_RESULT PropertyAttributes | GetAttributes (Handle< Object > receiver, Handle< JSObject > holder, uint32_t key) |
MUST_USE_RESULT MaybeHandle< AccessorPair > | GetAccessorPair (Handle< Object > receiver, Handle< JSObject > holder, uint32_t key) |
void | CopyElements (Handle< JSObject > from_holder, Handle< FixedArrayBase > to, ElementsKind from_kind) |
MUST_USE_RESULT MaybeHandle< FixedArray > | AddElementsToFixedArray (Handle< Object > receiver, Handle< JSObject > holder, Handle< FixedArray > to) |
Static Public Member Functions | |
static Handle< Object > | SetLengthWithoutNormalize (Handle< FixedArrayBase > store, Handle< JSArray > array, Handle< Object > length_object, uint32_t length) |
static MUST_USE_RESULT MaybeHandle< Object > | DeleteCommon (Handle< JSObject > obj, uint32_t key, JSReceiver::DeleteMode mode) |
static void | CopyElementsImpl (FixedArrayBase *from, uint32_t from_start, FixedArrayBase *to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) |
![]() | |
static ElementsAccessor * | ForKind (ElementsKind elements_kind) |
static ElementsAccessor * | ForArray (Handle< FixedArrayBase > array) |
static void | InitializeOncePerProcess () |
static void | TearDown () |
Friends | |
class | ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > > |
Additional Inherited Members | |
![]() | |
static const int | kCopyToEnd = -1 |
static const int | kCopyToEndAndInitializeToHole = -2 |
![]() | |
typedef ElementsKindTraits< DICTIONARY_ELEMENTS > | ElementsTraits |
typedef ElementsTraitsParam::BackingStore | BackingStore |
Definition at line 1356 of file elements.cc.
|
inlineexplicit |
Definition at line 1360 of file elements.cc.
|
inlinestatic |
Definition at line 1462 of file elements.cc.
References UNREACHABLE.
|
inlineprotectedvirtual |
Implements v8::internal::ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >.
Definition at line 1474 of file elements.cc.
References DeleteCommon(), and mode().
|
inlinestatic |
Definition at line 1421 of file elements.cc.
References v8::internal::Handle< T >::cast(), v8::internal::Dictionary< SeededNumberDictionary, SeededNumberDictionaryShape, uint32_t >::DeleteProperty(), v8::internal::Isolate::factory(), v8::internal::handle(), v8::internal::HandleVector(), v8::internal::HashTable< Derived, Shape, Key >::kNotFound, mode(), v8::internal::ElementsAccessor::name(), v8::internal::Dictionary< SeededNumberDictionary, SeededNumberDictionaryShape, uint32_t >::Shrink(), v8::internal::SLOPPY_ARGUMENTS_ELEMENTS, v8::internal::JSReceiver::STRICT_DELETION, and THROW_NEW_ERROR.
Referenced by Delete(), and v8::internal::SloppyArgumentsElementsAccessor::Delete().
|
inlinestaticprotected |
Definition at line 1517 of file elements.cc.
References v8::internal::CALLBACKS, v8::internal::Handle< T >::cast(), v8::internal::handle(), and v8::internal::HashTable< Derived, Shape, Key >::kNotFound.
|
inlinestaticprotected |
Definition at line 1503 of file elements.cc.
References ABSENT, v8::internal::Handle< T >::cast(), and v8::internal::HashTable< Derived, Shape, Key >::kNotFound.
|
inlinestaticprotected |
Definition at line 1481 of file elements.cc.
References v8::internal::CALLBACKS, v8::internal::Handle< T >::cast(), v8::internal::Isolate::factory(), v8::internal::JSObject::GetElementWithCallback(), and v8::internal::HashTable< Derived, Shape, Key >::kNotFound.
|
inlinestaticprotected |
Definition at line 1542 of file elements.cc.
References v8::internal::Handle< T >::cast().
|
inlinestaticprotected |
Definition at line 1533 of file elements.cc.
References v8::internal::Handle< T >::cast(), and v8::internal::HashTable< Derived, Shape, Key >::kNotFound.
|
inlinestatic |
Definition at line 1366 of file elements.cc.
References v8::internal::Handle< T >::cast(), v8::internal::Isolate::factory(), v8::internal::Object::Number(), and v8::internal::JSObject::ResetElements().
Referenced by v8::internal::ElementsAccessorBase< ElementsAccessorSubclass, ElementsTraitsParam >::SetLengthImpl().
|
friend |
Definition at line 1462 of file elements.cc.