v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SloppyArgumentsElementsAccessor Class Reference
Inheritance diagram for SloppyArgumentsElementsAccessor:
Collaboration diagram for SloppyArgumentsElementsAccessor:

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())
 

Protected Member Functions

virtual MUST_USE_RESULT Handle
< Object
Delete (Handle< JSObject > obj, uint32_t key, JSReceiver::DeleteMode mode) V8_FINAL V8_OVERRIDE
 
- Protected Member Functions inherited from ElementsAccessorBase< SloppyArgumentsElementsAccessor, ElementsKindTraits< SLOPPY_ARGUMENTS_ELEMENTS > >
 ElementsAccessorBase (const char *name)
 
virtual ElementsKind kind () const V8_FINAL V8_OVERRIDE
 
virtual void Validate (JSObject *holder) V8_FINAL V8_OVERRIDE
 
virtual bool HasElement (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store) V8_FINAL V8_OVERRIDE
 
virtual MUST_USE_RESULT Handle
< Object
Get (Handle< Object > receiver, Handle< JSObject > holder, uint32_t key, Handle< FixedArrayBase > backing_store) V8_FINAL V8_OVERRIDE
 
virtual MUST_USE_RESULT
MaybeObject * 
Get (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store) V8_FINAL V8_OVERRIDE
 
virtual MUST_USE_RESULT
PropertyAttributes 
GetAttributes (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store) V8_FINAL V8_OVERRIDE
 
virtual MUST_USE_RESULT
PropertyType 
GetType (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store) V8_FINAL V8_OVERRIDE
 
virtual MUST_USE_RESULT
AccessorPair
GetAccessorPair (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store) V8_FINAL V8_OVERRIDE
 
virtual MUST_USE_RESULT Handle
< Object
SetLength (Handle< JSArray > array, Handle< Object > length) V8_FINAL V8_OVERRIDE
 
virtual void SetCapacityAndLength (Handle< JSArray > array, int capacity, int length) V8_FINAL V8_OVERRIDE
 
virtual void CopyElements (Handle< JSObject > from_holder, uint32_t from_start, ElementsKind from_kind, Handle< FixedArrayBase > to, uint32_t to_start, int copy_size, Handle< FixedArrayBase > from) V8_FINAL V8_OVERRIDE
 
virtual MUST_USE_RESULT
MaybeObject * 
AddElementsToFixedArray (Object *receiver, JSObject *holder, FixedArray *to, FixedArrayBase *from) V8_FINAL V8_OVERRIDE
 
virtual uint32_t GetCapacity (FixedArrayBase *backing_store) V8_FINAL V8_OVERRIDE
 
virtual uint32_t GetKeyForIndex (FixedArrayBase *backing_store, uint32_t index) V8_FINAL V8_OVERRIDE
 

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 ElementsAccessorForKind (ElementsKind elements_kind)
 
static ElementsAccessorForArray (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
 

Detailed Description

Definition at line 1660 of file elements.cc.

Constructor & Destructor Documentation

SloppyArgumentsElementsAccessor ( const char *  name)
inlineexplicit

Definition at line 1664 of file elements.cc.

Member Function Documentation

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 
)
inlinestaticprotected

Definition at line 1791 of file elements.cc.

References UNREACHABLE.

static MUST_USE_RESULT AccessorPair* GetAccessorPairImpl ( Object receiver,
JSObject obj,
uint32_t  key,
FixedArrayBase parameters 
)
inlinestaticprotected
static MUST_USE_RESULT PropertyAttributes GetAttributesImpl ( Object receiver,
JSObject obj,
uint32_t  key,
FixedArrayBase backing_store 
)
inlinestaticprotected
static uint32_t GetCapacityImpl ( FixedArrayBase backing_store)
inlinestaticprotected
static MUST_USE_RESULT MaybeObject* GetImpl ( Object receiver,
JSObject obj,
uint32_t  key,
FixedArrayBase parameters 
)
inlinestaticprotected
static uint32_t GetKeyForIndexImpl ( FixedArrayBase dict,
uint32_t  index 
)
inlinestaticprotected

Definition at line 1808 of file elements.cc.

static MUST_USE_RESULT PropertyType GetTypeImpl ( Object receiver,
JSObject obj,
uint32_t  key,
FixedArrayBase parameters 
)
inlinestaticprotected
static bool HasElementImpl ( Object receiver,
JSObject holder,
uint32_t  key,
FixedArrayBase parameters 
)
inlinestaticprotected
static MUST_USE_RESULT Handle<Object> SetLengthImpl ( Handle< JSObject obj,
Handle< Object length,
Handle< FixedArrayBase parameter_map 
)
inlinestaticprotected

Definition at line 1755 of file elements.cc.

References obj, and UNIMPLEMENTED.

Friends And Related Function Documentation


The documentation for this class was generated from the following file: