V8 Project
v8::internal::LoadFastElementStub Class Reference

#include <code-stubs.h>

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

Classes

class  ElementsKindBits
 
class  IsJSArrayBits
 

Public Member Functions

 LoadFastElementStub (Isolate *isolate, bool is_js_array, ElementsKind elements_kind)
 
bool is_js_array () const
 
ElementsKind elements_kind () 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 (Load)
 
 DEFINE_HYDROGEN_CODE_STUB (LoadFastElement, 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 1932 of file code-stubs.h.

Constructor & Destructor Documentation

◆ LoadFastElementStub()

v8::internal::LoadFastElementStub::LoadFastElementStub ( Isolate isolate,
bool  is_js_array,
ElementsKind  elements_kind 
)
inline

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

1936  : HydrogenCodeStub(isolate) {
1939  }
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:1943

References elements_kind(), v8::internal::BitFieldBase< T, shift, size, U >::encode(), is_js_array(), 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::LoadFastElementStub::DEFINE_CALL_INTERFACE_DESCRIPTOR ( Load  )
private

◆ DEFINE_HYDROGEN_CODE_STUB()

v8::internal::LoadFastElementStub::DEFINE_HYDROGEN_CODE_STUB ( LoadFastElement  ,
HydrogenCodeStub   
)
private

◆ elements_kind()

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

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

1943  {
1945  }
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 LoadFastElementStub().

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

◆ is_js_array()

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

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

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

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

Referenced by LoadFastElementStub().

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

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