V8 Project
v8::internal::LoadICTrampolineStub Class Reference

#include <code-stubs.h>

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

Public Member Functions

 LoadICTrampolineStub (Isolate *isolate, const LoadICState &state)
 
virtual Code::Kind GetCodeKind () const OVERRIDE
 
virtual InlineCacheState GetICState () const FINAL OVERRIDE
 
virtual ExtraICState GetExtraICState () const FINAL OVERRIDE
 
- Public Member Functions inherited from v8::internal::PlatformCodeStub
virtual Handle< CodeGenerateCode () OVERRIDE
 

Private Member Functions

LoadICState state () const
 
 DEFINE_CALL_INTERFACE_DESCRIPTOR (VectorLoadICTrampoline)
 
 DEFINE_PLATFORM_CODE_STUB (LoadICTrampoline, PlatformCodeStub)
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::PlatformCodeStub
 PlatformCodeStub (Isolate *isolate)
 
virtual void Generate (MacroAssembler *masm)=0
 
 DEFINE_CODE_STUB_BASE (PlatformCodeStub, CodeStub)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ LoadICTrampolineStub()

v8::internal::LoadICTrampolineStub::LoadICTrampolineStub ( Isolate isolate,
const LoadICState &  state 
)
inline

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

1787  : PlatformCodeStub(isolate) {
1788  minor_key_ = state.GetExtraICState();
1789  }
PlatformCodeStub(Isolate *isolate)
Definition: code-stubs.h:341

References state().

+ Here is the call graph for this function:

Member Function Documentation

◆ DEFINE_CALL_INTERFACE_DESCRIPTOR()

v8::internal::LoadICTrampolineStub::DEFINE_CALL_INTERFACE_DESCRIPTOR ( VectorLoadICTrampoline  )
private

◆ DEFINE_PLATFORM_CODE_STUB()

v8::internal::LoadICTrampolineStub::DEFINE_PLATFORM_CODE_STUB ( LoadICTrampoline  ,
PlatformCodeStub   
)
private

◆ GetCodeKind()

virtual Code::Kind v8::internal::LoadICTrampolineStub::GetCodeKind ( ) const
inlinevirtual

Reimplemented from v8::internal::PlatformCodeStub.

Reimplemented in v8::internal::KeyedLoadICTrampolineStub.

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

1791 { return Code::LOAD_IC; }

◆ GetExtraICState()

virtual ExtraICState v8::internal::LoadICTrampolineStub::GetExtraICState ( ) const
inlinevirtual

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

1797  {
1798  return static_cast<ExtraICState>(minor_key_);
1799  }
int ExtraICState
Definition: objects.h:305

◆ GetICState()

virtual InlineCacheState v8::internal::LoadICTrampolineStub::GetICState ( ) const
inlinevirtual

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

1793  {
1794  return GENERIC;
1795  }

References v8::internal::GENERIC.

◆ state()

LoadICState v8::internal::LoadICTrampolineStub::state ( ) const
inlineprivate

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

1802  {
1803  return LoadICState(static_cast<ExtraICState>(minor_key_));
1804  }

Referenced by LoadICTrampolineStub().

+ Here is the caller graph for this function:

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