V8 Project
v8::internal::LoadConstantStub Class Reference

#include <code-stubs.h>

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

Classes

class  ConstantIndexBits
 

Public Member Functions

 LoadConstantStub (Isolate *isolate, int constant_index)
 
int constant_index () const
 
- Public Member Functions inherited from v8::internal::HandlerStub
virtual Code::Kind GetCodeKind () const
 
virtual ExtraICState GetExtraICState () const
 
virtual InlineCacheState GetICState () const
 
virtual void InitializeDescriptor (CodeStubDescriptor *descriptor) OVERRIDE
 
virtual CallInterfaceDescriptor GetCallInterfaceDescriptor () OVERRIDE
 
- Public Member Functions inherited from v8::internal::HydrogenCodeStub
virtual Handle< CodeGenerateCode ()=0
 
bool IsUninitialized () const
 
Handle< CodeGenerateLightweightMissCode (ExternalReference miss)
 
template<class StateType >
void TraceTransition (StateType from, StateType to)
 

Protected Member Functions

virtual Code::Kind kind () const
 
virtual Code::StubType GetStubType ()
 
- Protected Member Functions inherited from v8::internal::HandlerStub
 HandlerStub (Isolate *isolate)
 
 DEFINE_CODE_STUB_BASE (HandlerStub, HydrogenCodeStub)
 
- 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
 

Private Member Functions

 DEFINE_HANDLER_CODE_STUB (LoadConstant, HandlerStub)
 

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)
 
- Static Protected Attributes inherited from v8::internal::HydrogenCodeStub
static const int kSubMinorKeyBits = kStubMinorKeyBits - 1
 

Detailed Description

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

Constructor & Destructor Documentation

◆ LoadConstantStub()

v8::internal::LoadConstantStub::LoadConstantStub ( Isolate isolate,
int  constant_index 
)
inline

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

937  : HandlerStub(isolate) {
939  }
static U encode(T value)
Definition: utils.h:217
HandlerStub(Isolate *isolate)
Definition: code-stubs.h:889
void set_sub_minor_key(uint32_t key)
Definition: code-stubs.h:463

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

+ Here is the call graph for this function:

Member Function Documentation

◆ constant_index()

int v8::internal::LoadConstantStub::constant_index ( ) const
inline

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

941  {
943  }
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 LoadConstantStub().

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

◆ DEFINE_HANDLER_CODE_STUB()

v8::internal::LoadConstantStub::DEFINE_HANDLER_CODE_STUB ( LoadConstant  ,
HandlerStub   
)
private

◆ GetStubType()

virtual Code::StubType v8::internal::LoadConstantStub::GetStubType ( )
inlineprotectedvirtual

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

947 { return Code::FAST; }

References v8::internal::Code::FAST.

◆ kind()

virtual Code::Kind v8::internal::LoadConstantStub::kind ( ) const
inlineprotectedvirtual

Implements v8::internal::HandlerStub.

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

946 { return Code::LOAD_IC; }

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