v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
Public Member Functions | |
NonStrictArgumentsElementsAccessor (const char *name) | |
Public Member Functions inherited from ElementsAccessor | |
ElementsAccessor (const char *name) | |
virtual | ~ElementsAccessor () |
const char * | name () const |
MUST_USE_RESULT MaybeObject * | CopyElements (JSObject *from_holder, FixedArrayBase *to, ElementsKind to_kind, FixedArrayBase *from=NULL) |
Protected Member Functions | |
virtual MUST_USE_RESULT MaybeObject * | Delete (JSObject *obj, uint32_t key, JSReceiver::DeleteMode mode) |
Protected Member Functions inherited from ElementsAccessorBase< NonStrictArgumentsElementsAccessor, ElementsKindTraits< NON_STRICT_ARGUMENTS_ELEMENTS > > | |
ElementsAccessorBase (const char *name) | |
virtual ElementsKind | kind () const |
virtual void | Validate (JSObject *holder) |
virtual bool | HasElement (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store) |
virtual MUST_USE_RESULT MaybeObject * | Get (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store) |
virtual MUST_USE_RESULT MaybeObject * | SetLength (JSArray *array, Object *length) |
virtual MUST_USE_RESULT MaybeObject * | SetCapacityAndLength (JSArray *array, int capacity, int length) |
virtual MUST_USE_RESULT MaybeObject * | CopyElements (JSObject *from_holder, uint32_t from_start, FixedArrayBase *to, ElementsKind to_kind, uint32_t to_start, int copy_size, FixedArrayBase *from) |
virtual MUST_USE_RESULT MaybeObject * | AddElementsToFixedArray (Object *receiver, JSObject *holder, FixedArray *to, FixedArrayBase *from) |
virtual uint32_t | GetCapacity (FixedArrayBase *backing_store) |
virtual uint32_t | GetKeyForIndex (FixedArrayBase *backing_store, uint32_t index) |
Static Protected Member Functions | |
static MUST_USE_RESULT MaybeObject * | GetImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArray *parameter_map) |
static MUST_USE_RESULT MaybeObject * | SetLengthImpl (JSObject *obj, Object *length, FixedArray *parameter_map) |
static MUST_USE_RESULT MaybeObject * | CopyElementsImpl (FixedArrayBase *from, uint32_t from_start, FixedArrayBase *to, ElementsKind to_kind, uint32_t to_start, int packed_size, int copy_size) |
static uint32_t | GetCapacityImpl (FixedArray *parameter_map) |
static uint32_t | GetKeyForIndexImpl (FixedArray *dict, uint32_t index) |
static bool | HasElementImpl (Object *receiver, JSObject *holder, uint32_t key, FixedArray *parameter_map) |
Static Protected Member Functions inherited from ElementsAccessorBase< NonStrictArgumentsElementsAccessor, ElementsKindTraits< NON_STRICT_ARGUMENTS_ELEMENTS > > | |
static void | ValidateContents (JSObject *holder, int length) |
static void | ValidateImpl (JSObject *holder) |
static bool | HasElementImpl (Object *receiver, JSObject *holder, uint32_t key, BackingStore *backing_store) |
static MUST_USE_RESULT MaybeObject * | GetImpl (Object *receiver, JSObject *obj, uint32_t key, BackingStore *backing_store) |
static MUST_USE_RESULT MaybeObject * | SetLengthImpl (JSObject *obj, Object *length, BackingStore *backing_store) |
static MUST_USE_RESULT MaybeObject * | SetFastElementsCapacityAndLength (JSObject *obj, int capacity, int length) |
static MUST_USE_RESULT MaybeObject * | CopyElementsImpl (FixedArrayBase *from, uint32_t from_start, FixedArrayBase *to, ElementsKind to_kind, uint32_t to_start, int packed_size, int copy_size) |
static uint32_t | GetCapacityImpl (BackingStore *backing_store) |
static uint32_t | GetKeyForIndexImpl (BackingStore *backing_store, uint32_t index) |
Friends | |
class | ElementsAccessorBase< NonStrictArgumentsElementsAccessor, ElementsKindTraits< NON_STRICT_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< NonStrictArgumentsElementsAccessor, ElementsKindTraits< NON_STRICT_ARGUMENTS_ELEMENTS > > | |
typedef ElementsKindTraits < NON_STRICT_ARGUMENTS_ELEMENTS > | ElementsTraits |
typedef ElementsKindTraits < NON_STRICT_ARGUMENTS_ELEMENTS > ::BackingStore | BackingStore |
Definition at line 1443 of file elements.cc.
|
inlineexplicit |
Definition at line 1447 of file elements.cc.
|
inlinestaticprotected |
Definition at line 1520 of file elements.cc.
References FixedArray::cast(), ElementsAccessor::ForArray(), FixedArray::get(), and v8::internal::NULL.
|
inlineprotectedvirtual |
Definition at line 1496 of file elements.cc.
References FixedArray::cast(), FastElementsAccessor< FastHoleyObjectElementsAccessor, ElementsKindTraits< FAST_HOLEY_ELEMENTS >, kPointerSize >::DeleteCommon(), DictionaryElementsAccessor::DeleteCommon(), FixedArray::get(), HeapObject::GetHeap(), and FixedArray::set_the_hole().
|
inlinestaticprotected |
Definition at line 1534 of file elements.cc.
References FixedArrayBase::cast(), ElementsAccessor::ForArray(), FixedArray::get(), ElementsAccessor::GetCapacity(), FixedArrayBase::length(), and v8::internal::Max().
|
inlinestaticprotected |
Definition at line 1456 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 1540 of file elements.cc.
|
inlinestaticprotected |
Definition at line 1545 of file elements.cc.
References FixedArrayBase::cast(), ElementsAccessor::ForArray(), and FixedArray::get().
|
inlinestaticprotected |
Definition at line 1486 of file elements.cc.
References UNIMPLEMENTED.
|
friend |
Definition at line 1454 of file elements.cc.