V8 Project
v8::internal::StoreFastElementStub Class Reference

#include <code-stubs.h>

+ Inheritance diagram for v8::internal::StoreFastElementStub:
+ Collaboration diagram for v8::internal::StoreFastElementStub:

Classes

class  ElementsKindBits
 
class  IsJSArrayBits
 
class  StoreModeBits
 

Public Member Functions

 StoreFastElementStub (Isolate *isolate, bool is_js_array, ElementsKind elements_kind, KeyedAccessStoreMode mode)
 
bool is_js_array () const
 
ElementsKind elements_kind () const
 
KeyedAccessStoreMode store_mode () const
 
- Public Member Functions inherited from v8::internal::HydrogenCodeStub
virtual Code::Kind GetCodeKind () const
 
virtual Handle< CodeGenerateCode ()=0
 
bool IsUninitialized () const
 
Handle< CodeGenerateLightweightMissCode (ExternalReference miss)
 
template<class StateType >
void TraceTransition (StateType from, StateType to)
 

Private Member Functions

 DEFINE_CALL_INTERFACE_DESCRIPTOR (Store)
 
 DEFINE_HYDROGEN_CODE_STUB (StoreFastElement, HydrogenCodeStub)
 

Additional Inherited Members

- Public Types inherited from v8::internal::HydrogenCodeStub
enum  InitializationState { UNINITIALIZED , INITIALIZED }
 
- Static Public Member Functions inherited from v8::internal::HydrogenCodeStub
template<class SubClass >
static Handle< CodeGetUninitialized (Isolate *isolate)
 
- Protected Member Functions inherited from v8::internal::HydrogenCodeStub
 HydrogenCodeStub (Isolate *isolate, InitializationState state=INITIALIZED)
 
void set_sub_minor_key (uint32_t key)
 
uint32_t sub_minor_key () const
 
- Static Protected Attributes inherited from v8::internal::HydrogenCodeStub
static const int kSubMinorKeyBits = kStubMinorKeyBits - 1
 

Detailed Description

Definition at line 1956 of file code-stubs.h.

Constructor & Destructor Documentation

◆ StoreFastElementStub()

v8::internal::StoreFastElementStub::StoreFastElementStub ( Isolate isolate,
bool  is_js_array,
ElementsKind  elements_kind,
KeyedAccessStoreMode  mode 
)
inline

Definition at line 1958 of file code-stubs.h.

1960  : HydrogenCodeStub(isolate) {
1964  }
static U encode(T value)
Definition: utils.h:217
HydrogenCodeStub(Isolate *isolate, InitializationState state=INITIALIZED)
Definition: code-stubs.h:457
void set_sub_minor_key(uint32_t key)
Definition: code-stubs.h:463
ElementsKind elements_kind() const
Definition: code-stubs.h:1968
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long mode(MIPS only)") DEFINE_BOOL(enable_always_align_csp

References elements_kind(), v8::internal::BitFieldBase< T, shift, size, U >::encode(), is_js_array(), mode(), and v8::internal::HydrogenCodeStub::set_sub_minor_key().

+ Here is the call graph for this function:

Member Function Documentation

◆ DEFINE_CALL_INTERFACE_DESCRIPTOR()

v8::internal::StoreFastElementStub::DEFINE_CALL_INTERFACE_DESCRIPTOR ( Store  )
private

◆ DEFINE_HYDROGEN_CODE_STUB()

v8::internal::StoreFastElementStub::DEFINE_HYDROGEN_CODE_STUB ( StoreFastElement  ,
HydrogenCodeStub   
)
private

◆ elements_kind()

ElementsKind v8::internal::StoreFastElementStub::elements_kind ( ) const
inline

Definition at line 1968 of file code-stubs.h.

1968  {
1970  }
static T decode(U value)
Definition: utils.h:228
uint32_t sub_minor_key() const
Definition: code-stubs.h:467

References v8::internal::BitFieldBase< T, shift, size, U >::decode(), and v8::internal::HydrogenCodeStub::sub_minor_key().

Referenced by StoreFastElementStub().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ is_js_array()

bool v8::internal::StoreFastElementStub::is_js_array ( ) const
inline

Definition at line 1966 of file code-stubs.h.

1966 { return IsJSArrayBits::decode(sub_minor_key()); }

References v8::internal::BitFieldBase< T, shift, size, U >::decode(), and v8::internal::HydrogenCodeStub::sub_minor_key().

Referenced by StoreFastElementStub().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ store_mode()

KeyedAccessStoreMode v8::internal::StoreFastElementStub::store_mode ( ) const
inline

Definition at line 1972 of file code-stubs.h.

1972  {
1974  }

References v8::internal::BitFieldBase< T, shift, size, U >::decode(), and v8::internal::HydrogenCodeStub::sub_minor_key().

+ Here is the call graph for this function:

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