v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
Public Member Functions | |
SloppyArgumentsElementsAccessor (const char *name) | |
Public Member Functions inherited from ElementsAccessor | |
ElementsAccessor (const char *name) | |
virtual | ~ElementsAccessor () |
const char * | name () const |
void | CopyElements (Handle< JSObject > from_holder, Handle< FixedArrayBase > to, ElementsKind from_kind, Handle< FixedArrayBase > from=Handle< FixedArrayBase >::null()) |
Static Protected Member Functions | |
static MUST_USE_RESULT MaybeObject * | GetImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArrayBase *parameters) |
static MUST_USE_RESULT PropertyAttributes | GetAttributesImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArrayBase *backing_store) |
static MUST_USE_RESULT PropertyType | GetTypeImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArrayBase *parameters) |
static MUST_USE_RESULT AccessorPair * | GetAccessorPairImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArrayBase *parameters) |
static MUST_USE_RESULT Handle < Object > | SetLengthImpl (Handle< JSObject > obj, Handle< Object > length, Handle< FixedArrayBase > parameter_map) |
static void | CopyElementsImpl (Handle< FixedArrayBase > from, uint32_t from_start, Handle< FixedArrayBase > to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) |
static uint32_t | GetCapacityImpl (FixedArrayBase *backing_store) |
static uint32_t | GetKeyForIndexImpl (FixedArrayBase *dict, uint32_t index) |
static bool | HasElementImpl (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *parameters) |
Static Protected Member Functions inherited from ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > > | |
static void | ValidateContents (JSObject *holder, int length) |
static void | ValidateImpl (JSObject *holder) |
static bool | HasElementImpl (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store) |
static MUST_USE_RESULT MaybeObject * | GetImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArrayBase *backing_store) |
static MUST_USE_RESULT PropertyAttributes | GetAttributesImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArrayBase *backing_store) |
static MUST_USE_RESULT PropertyType | GetTypeImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArrayBase *backing_store) |
static MUST_USE_RESULT AccessorPair * | GetAccessorPairImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArrayBase *backing_store) |
static MUST_USE_RESULT Handle < Object > | SetLengthImpl (Handle< JSObject > obj, Handle< Object > length, Handle< FixedArrayBase > backing_store) |
static void | SetFastElementsCapacityAndLength (Handle< JSObject > obj, int capacity, int length) |
static void | CopyElementsImpl (Handle< FixedArrayBase > from, uint32_t from_start, Handle< FixedArrayBase > to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) |
static uint32_t | GetCapacityImpl (FixedArrayBase *backing_store) |
static uint32_t | GetKeyForIndexImpl (FixedArrayBase *backing_store, uint32_t index) |
Friends | |
class | ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > > |
Additional Inherited Members | |
Static Public Member Functions inherited from ElementsAccessor | |
static ElementsAccessor * | ForKind (ElementsKind elements_kind) |
static ElementsAccessor * | ForArray (FixedArrayBase *array) |
static void | InitializeOncePerProcess () |
static void | TearDown () |
Static Public Attributes inherited from ElementsAccessor | |
static const int | kCopyToEnd = -1 |
static const int | kCopyToEndAndInitializeToHole = -2 |
Protected Types inherited from ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > > | |
typedef ElementsKindTraits < SLOPPY_ARGUMENTS_ELEMENTS > | ElementsTraits |
typedef ElementsKindTraits < SLOPPY_ARGUMENTS_ELEMENTS > ::BackingStore | BackingStore |
Definition at line 1660 of file elements.cc.
|
inlineexplicit |
Definition at line 1664 of file elements.cc.
|
inlinestaticprotected |
Definition at line 1791 of file elements.cc.
References UNREACHABLE.
|
inlineprotectedvirtual |
Implements ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >.
Definition at line 1765 of file elements.cc.
References FixedArray::cast(), FastElementsAccessor< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS >, kPointerSize >::DeleteCommon(), DictionaryElementsAccessor::DeleteCommon(), Isolate::factory(), v8::internal::mode(), and obj.
|
inlinestaticprotected |
Definition at line 1738 of file elements.cc.
References FixedArray::cast(), ElementsAccessor::ForArray(), FixedArray::get(), ElementsAccessor::GetAccessorPair(), and v8::internal::NULL.
|
inlinestaticprotected |
Definition at line 1704 of file elements.cc.
References FixedArray::cast(), ElementsAccessor::ForArray(), FixedArray::get(), ElementsAccessor::GetAttributes(), and NONE.
|
inlinestaticprotected |
Definition at line 1801 of file elements.cc.
References FixedArrayBase::cast(), FixedArray::cast(), ElementsAccessor::ForArray(), FixedArray::get(), ElementsAccessor::GetCapacity(), FixedArrayBase::length(), and v8::internal::Max().
|
inlinestaticprotected |
Definition at line 1673 of file elements.cc.
References AliasedArgumentsEntry::aliased_context_slot(), ASSERT, Context::cast(), Smi::cast(), FixedArray::cast(), AliasedArgumentsEntry::cast(), ElementsAccessor::ForArray(), ElementsAccessor::Get(), FixedArray::get(), and Smi::value().
|
inlinestaticprotected |
Definition at line 1808 of file elements.cc.
|
inlinestaticprotected |
Definition at line 1721 of file elements.cc.
References FixedArray::cast(), v8::internal::FIELD, ElementsAccessor::ForArray(), FixedArray::get(), and ElementsAccessor::GetType().
|
inlinestaticprotected |
Definition at line 1813 of file elements.cc.
References FixedArrayBase::cast(), FixedArray::cast(), ElementsAccessor::ForArray(), and ElementsAccessor::Get().
|
inlinestaticprotected |
Definition at line 1755 of file elements.cc.
References obj, and UNIMPLEMENTED.
|
friend |
Definition at line 1671 of file elements.cc.