V8 Project
|
#include <ic.h>
Public Member Functions | |
KeyedLoadIC (FrameDepth depth, Isolate *isolate) | |
MUST_USE_RESULT MaybeHandle< Object > | Load (Handle< Object > object, Handle< Object > key) |
![]() | |
ContextualMode | contextual_mode () const |
LoadIC (FrameDepth depth, Isolate *isolate) | |
bool | IsUndeclaredGlobal (Handle< Object > receiver) |
MUST_USE_RESULT MaybeHandle< Object > | Load (Handle< Object > object, Handle< Name > name) |
![]() | |
IC (FrameDepth depth, Isolate *isolate) | |
virtual | ~IC () |
State | state () const |
Address | address () const |
void | UpdateState (Handle< Object > receiver, Handle< Object > name) |
bool | IsNameCompatibleWithPrototypeFailure (Handle< Object > name) |
void | MarkPrototypeFailure (Handle< Object > name) |
Static Public Attributes | |
static const int | kSlowCaseBitFieldMask |
Private Member Functions | |
Handle< Code > | generic_stub () const |
Handle< Code > | string_stub () |
Static Private Member Functions | |
static void | Clear (Isolate *isolate, Address address, Code *target, ConstantPoolArray *constant_pool) |
Friends | |
class | IC |
Additional Inherited Members | |
![]() | |
enum | UtilityId { kUtilityCount } |
enum | FrameDepth { NO_EXTRA_FRAME = 0 , EXTRA_CALL_FRAME = 1 } |
typedef InlineCacheState | State |
![]() | |
static Code * | GetTargetAtAddress (Address address, ConstantPoolArray *constant_pool) |
static void | SetTargetAtAddress (Address address, Code *target, ConstantPoolArray *constant_pool) |
static void | OnTypeFeedbackChanged (Isolate *isolate, Address address, State old_state, State new_state, bool target_remains_ic_stub) |
static void | PostPatching (Address address, Code *target, Code *old_target) |
|
inlineexplicit |
Definition at line 400 of file ic.h.
References DCHECK, and v8::internal::IC::target().
|
staticprivate |
Definition at line 511 of file ic.cc.
References v8::internal::IC::address(), v8::internal::IC::constant_pool(), v8::internal::IC::IsCleared(), v8::internal::IC::isolate(), pre_monomorphic_stub(), v8::internal::IC::SetTargetAtAddress(), and v8::internal::IC::target().
Referenced by v8::internal::IC::Clear().
|
static |
Referenced by v8::internal::Generate_KeyedLoadIC_Generic().
|
inlinestatic |
Definition at line 411 of file ic.h.
References v8::internal::LoadIC::GenerateMiss().
Referenced by v8::internal::Generate_KeyedLoadIC_Initialize().
|
static |
Referenced by v8::internal::Generate_KeyedLoadIC_Miss().
|
inlinestatic |
Definition at line 412 of file ic.h.
References v8::internal::LoadIC::GenerateMiss().
Referenced by v8::internal::Generate_KeyedLoadIC_PreMonomorphic().
|
static |
Referenced by v8::internal::Generate_KeyedLoadIC_Slow().
|
static |
Referenced by v8::internal::Generate_KeyedLoadIC_String().
Definition at line 435 of file ic.h.
References generic_stub(), and v8::internal::IC::isolate().
Referenced by generic_stub(), v8::internal::LoadIC::Load(), Load(), LoadElementStub(), and v8::internal::LoadIC::megamorphic_stub().
Definition at line 568 of file ic.cc.
References v8::internal::Isolate::builtins(), and v8::internal::IC::isolate().
MaybeHandle< Object > v8::internal::KeyedLoadIC::Load | ( | Handle< Object > | object, |
Handle< Object > | key | ||
) |
Definition at line 1171 of file ic.cc.
References ASSIGN_RETURN_ON_EXCEPTION, v8::internal::Handle< T >::cast(), generic_stub(), v8::internal::Runtime::GetObjectProperty(), v8::internal::Handle< T >::is_null(), v8::internal::IC::is_target_set(), v8::internal::IC::isolate(), v8::internal::LoadIC::Load(), LoadElementStub(), v8::internal::MigrateDeprecated(), v8::internal::LoadIC::set_target(), v8::internal::IC::state(), string_stub(), v8::internal::Object::ToSmi(), TRACE_GENERIC_IC, TRACE_IC, v8::internal::TryConvertKey(), and v8::internal::UNINITIALIZED.
Referenced by v8::internal::RUNTIME_FUNCTION().
Definition at line 1124 of file ic.cc.
References v8::internal::List< T, AllocationPolicy >::Add(), v8::internal::AddOneReceiverMapIfMissing(), v8::internal::List< T, AllocationPolicy >::at(), v8::internal::PropertyICCompiler::ComputeKeyedLoadMonomorphic(), v8::internal::PropertyICCompiler::ComputeKeyedLoadPolymorphic(), DCHECK, v8::internal::GENERIC, generic_stub(), v8::internal::IsMoreGeneralElementsKindTransition(), v8::internal::IC::isolate(), v8::internal::kMaxKeyedPolymorphism, v8::internal::MONOMORPHIC, v8::internal::IC::state(), string_stub(), v8::internal::IC::target(), v8::internal::IC::TargetMaps(), and TRACE_GENERIC_IC.
Referenced by Load().
|
inlineprotectedvirtual |
Reimplemented from v8::internal::LoadIC.
Definition at line 430 of file ic.h.
References v8::internal::IC::isolate(), and v8::internal::LoadIC::pre_monomorphic_stub().
Referenced by Clear(), and v8::internal::LoadIC::pre_monomorphic_stub().
Definition at line 838 of file ic.cc.
References v8::internal::Isolate::builtins(), and v8::internal::IC::isolate().
Definition at line 436 of file ic.h.
References v8::internal::Isolate::builtins(), and v8::internal::IC::isolate().
Referenced by Load(), and LoadElementStub().
|
static |