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
FastDoubleElementsAccessor< FastElementsAccessorSubclass, KindTraits > Class Template Reference
Inheritance diagram for FastDoubleElementsAccessor< FastElementsAccessorSubclass, KindTraits >:
Collaboration diagram for FastDoubleElementsAccessor< FastElementsAccessorSubclass, KindTraits >:

Public Member Functions

 FastDoubleElementsAccessor (const char *name)
 
- Public Member Functions inherited from FastElementsAccessor< FastElementsAccessorSubclass, KindTraits, kDoubleSize >
 FastElementsAccessor (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 Public Member Functions

static void SetFastElementsCapacityAndLength (Handle< JSObject > obj, uint32_t capacity, uint32_t length)
 
- Static Public Member Functions inherited from ElementsAccessor
static ElementsAccessorForKind (ElementsKind elements_kind)
 
static ElementsAccessorForArray (FixedArrayBase *array)
 
static void InitializeOncePerProcess ()
 
static void TearDown ()
 

Static Protected Member Functions

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 Protected Member Functions inherited from FastElementsAccessor< FastElementsAccessorSubclass, KindTraits, kDoubleSize >
static Handle< ObjectSetLengthWithoutNormalize (Handle< FixedArrayBase > backing_store, Handle< JSArray > array, Handle< Object > length_object, uint32_t length)
 
static Handle< ObjectDeleteCommon (Handle< JSObject > obj, uint32_t key, JSReceiver::DeleteMode mode)
 
static bool HasElementImpl (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store)
 
static void ValidateContents (JSObject *holder, int length)
 
- Static Protected Member Functions inherited from ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >
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)
 

Additional Inherited Members

- Static Public Attributes inherited from ElementsAccessor
static const int kCopyToEnd = -1
 
static const int kCopyToEndAndInitializeToHole = -2
 
- Protected Types inherited from FastElementsAccessor< FastElementsAccessorSubclass, KindTraits, kDoubleSize >
typedef KindTraits::BackingStore BackingStore
 
- Protected Types inherited from ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >
typedef KindTraits ElementsTraits
 
typedef KindTraits::BackingStore BackingStore
 
- Protected Member Functions inherited from FastElementsAccessor< FastElementsAccessorSubclass, KindTraits, kDoubleSize >
virtual Handle< ObjectDelete (Handle< JSObject > obj, uint32_t key, JSReceiver::DeleteMode mode) V8_FINAL V8_OVERRIDE
 
- Protected Member Functions inherited from ElementsAccessorBase< FastElementsAccessorSubclass, KindTraits >
 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
 

Detailed Description

template<typename FastElementsAccessorSubclass, typename KindTraits>
class v8::internal::FastDoubleElementsAccessor< FastElementsAccessorSubclass, KindTraits >

Definition at line 1244 of file elements.cc.

Constructor & Destructor Documentation

FastDoubleElementsAccessor ( const char *  name)
inlineexplicit

Definition at line 1249 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 1261 of file elements.cc.

static void SetFastElementsCapacityAndLength ( Handle< JSObject obj,
uint32_t  capacity,
uint32_t  length 
)
inlinestatic

Definition at line 1254 of file elements.cc.


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