v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <stub-cache.h>
Public Member Functions | |
BaseLoadStoreStubCompiler (Isolate *isolate, Code::Kind kind, ExtraICState extra_ic_state=kNoExtraICState, InlineCacheHolderFlag cache_holder=OWN_MAP) | |
virtual | ~BaseLoadStoreStubCompiler () |
Handle< Code > | CompileMonomorphicIC (Handle< HeapType > type, Handle< Code > handler, Handle< Name > name) |
Handle< Code > | CompilePolymorphicIC (TypeHandleList *types, CodeHandleList *handlers, Handle< Name > name, Code::StubType type, IcCheckType check) |
Static Public Member Functions | |
static Builtins::Name | MissBuiltin (Code::Kind kind) |
Protected Member Functions | |
virtual Register | HandlerFrontendHeader (Handle< HeapType > type, Register object_reg, Handle< JSObject > holder, Handle< Name > name, Label *miss)=0 |
virtual void | HandlerFrontendFooter (Handle< Name > name, Label *miss)=0 |
Register | HandlerFrontend (Handle< HeapType > type, Register object_reg, Handle< JSObject > holder, Handle< Name > name) |
Handle< Code > | GetCode (Code::Kind kind, Code::StubType type, Handle< Name > name) |
Handle< Code > | GetICCode (Code::Kind kind, Code::StubType type, Handle< Name > name, InlineCacheState state=MONOMORPHIC) |
Code::Kind | kind () |
Logger::LogEventsAndTags | log_kind (Handle< Code > code) |
void | JitEvent (Handle< Name > name, Handle< Code > code) |
Register | receiver () |
Register | name () |
Register | scratch1 () |
Register | scratch2 () |
Register | scratch3 () |
void | InitializeRegisters () |
bool | IncludesNumberType (TypeHandleList *types) |
Protected Attributes | |
Code::Kind | kind_ |
InlineCacheHolderFlag | cache_holder_ |
Register * | registers_ |
Definition at line 443 of file stub-cache.h.
|
inline |
Definition at line 445 of file stub-cache.h.
References BaseLoadStoreStubCompiler::InitializeRegisters().
|
inlinevirtual |
Definition at line 454 of file stub-cache.h.
Handle< Code > CompileMonomorphicIC | ( | Handle< HeapType > | type, |
Handle< Code > | handler, | ||
Handle< Name > | name | ||
) |
Definition at line 1019 of file stub-cache.cc.
References List< T, P >::Add(), and v8::internal::PROPERTY.
Referenced by StubCache::ComputeMonomorphicIC().
Handle<Code> CompilePolymorphicIC | ( | TypeHandleList * | types, |
CodeHandleList * | handlers, | ||
Handle< Name > | name, | ||
Code::StubType | type, | ||
IcCheckType | check | ||
) |
Referenced by StubCache::ComputePolymorphicIC().
|
protected |
Definition at line 1281 of file stub-cache.cc.
|
protected |
Definition at line 1269 of file stub-cache.cc.
|
protected |
Definition at line 850 of file stub-cache.cc.
Implemented in StoreStubCompiler, and LoadStubCompiler.
|
protectedpure virtual |
Implemented in StoreStubCompiler, and LoadStubCompiler.
|
protected |
Definition at line 842 of file stub-cache.cc.
References List< T, P >::at().
|
protected |
Definition at line 1256 of file stub-cache.cc.
Referenced by BaseLoadStoreStubCompiler::BaseLoadStoreStubCompiler().
Definition at line 1239 of file stub-cache.cc.
References GDBJIT.
|
inlineprotected |
Definition at line 499 of file stub-cache.h.
References BaseLoadStoreStubCompiler::kind_.
|
inlineprotected |
Definition at line 501 of file stub-cache.h.
References BaseLoadStoreStubCompiler::kind_, and v8::internal::MONOMORPHIC.
|
inlinestatic |
Definition at line 466 of file stub-cache.h.
References UNREACHABLE.
|
inlineprotected |
Definition at line 520 of file stub-cache.h.
References BaseLoadStoreStubCompiler::registers_.
|
inlineprotected |
Definition at line 519 of file stub-cache.h.
References BaseLoadStoreStubCompiler::registers_.
|
inlineprotected |
Definition at line 521 of file stub-cache.h.
References BaseLoadStoreStubCompiler::registers_.
|
inlineprotected |
Definition at line 522 of file stub-cache.h.
References BaseLoadStoreStubCompiler::registers_.
|
inlineprotected |
Definition at line 523 of file stub-cache.h.
References BaseLoadStoreStubCompiler::registers_.
|
protected |
Definition at line 530 of file stub-cache.h.
|
protected |
Definition at line 529 of file stub-cache.h.
Referenced by BaseLoadStoreStubCompiler::kind(), and BaseLoadStoreStubCompiler::log_kind().
|
protected |
Definition at line 531 of file stub-cache.h.
Referenced by BaseLoadStoreStubCompiler::name(), BaseLoadStoreStubCompiler::receiver(), BaseLoadStoreStubCompiler::scratch1(), BaseLoadStoreStubCompiler::scratch2(), and BaseLoadStoreStubCompiler::scratch3().