V8 Project
v8::internal::StringLengthStub Class Reference

#include <code-stubs.h>

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

Public Member Functions

 StringLengthStub (Isolate *isolate)
 
- 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 ()
 
 DEFINE_HANDLER_CODE_STUB (StringLength, HandlerStub)
 
- 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
 

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 956 of file code-stubs.h.

Constructor & Destructor Documentation

◆ StringLengthStub()

v8::internal::StringLengthStub::StringLengthStub ( Isolate isolate)
inlineexplicit

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

958 : HandlerStub(isolate) {}
HandlerStub(Isolate *isolate)
Definition: code-stubs.h:889

Member Function Documentation

◆ DEFINE_HANDLER_CODE_STUB()

v8::internal::StringLengthStub::DEFINE_HANDLER_CODE_STUB ( StringLength  ,
HandlerStub   
)
protected

◆ GetStubType()

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

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

962 { return Code::FAST; }

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

◆ kind()

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

Implements v8::internal::HandlerStub.

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

961 { return Code::LOAD_IC; }

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