v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <ic.h>
Public Member Functions | |
CallIC (Isolate *isolate) | |
Public Member Functions inherited from CallICBase | |
MUST_USE_RESULT MaybeObject * | LoadFunction (State state, Code::ExtraICState extra_ic_state, Handle< Object > object, Handle< String > name) |
Public Member Functions inherited from IC | |
IC (FrameDepth depth, Isolate *isolate) | |
virtual | ~IC () |
Code * | target () const |
Address | address () const |
virtual bool | IsGeneric () const |
RelocInfo::Mode | ComputeMode () |
bool | IsContextual (Handle< Object > receiver) |
bool | SlowIsContextual () |
Static Public Member Functions | |
static void | GenerateInitialize (MacroAssembler *masm, int argc, Code::ExtraICState extra_state) |
static void | GenerateMiss (MacroAssembler *masm, int argc, Code::ExtraICState extra_state) |
static void | GenerateMegamorphic (MacroAssembler *masm, int argc, Code::ExtraICState extra_ic_state) |
static void | GenerateNormal (MacroAssembler *masm, int argc) |
Static Public Member Functions inherited from IC | |
static Address | AddressFromUtilityId (UtilityId id) |
static State | StateFrom (Code *target, Object *receiver, Object *name) |
static void | Clear (Address address) |
static InlineCacheHolderFlag | GetCodeCacheForObject (Object *object, JSObject *holder) |
static InlineCacheHolderFlag | GetCodeCacheForObject (JSObject *object, JSObject *holder) |
static JSObject * | GetCodeCacheHolder (Object *object, InlineCacheHolderFlag holder) |
Additional Inherited Members | |
Public Types inherited from IC | |
enum | UtilityId { kUtilityCount } |
enum | FrameDepth { NO_EXTRA_FRAME = 0, EXTRA_CALL_FRAME = 1 } |
typedef InlineCacheState | State |
Protected Member Functions inherited from CallICBase | |
CallICBase (Code::Kind kind, Isolate *isolate) | |
bool | TryUpdateExtraICState (LookupResult *lookup, Handle< Object > object, Code::ExtraICState *extra_ic_state) |
Handle< Code > | ComputeMonomorphicStub (LookupResult *lookup, State state, Code::ExtraICState extra_state, Handle< Object > object, Handle< String > name) |
void | UpdateCaches (LookupResult *lookup, State state, Code::ExtraICState extra_ic_state, Handle< Object > object, Handle< String > name) |
Handle< Object > | TryCallAsFunction (Handle< Object > object) |
void | ReceiverToObjectIfRequired (Handle< Object > callee, Handle< Object > object) |
Protected Member Functions inherited from IC | |
Address | fp () const |
Address | pc () const |
Isolate * | isolate () const |
void | set_target (Code *code) |
Failure * | TypeError (const char *type, Handle< Object > object, Handle< Object > key) |
Failure * | ReferenceError (const char *type, Handle< String > name) |
Static Protected Member Functions inherited from CallICBase | |
static void | Clear (Address address, Code *target) |
static void | GenerateMiss (MacroAssembler *masm, int argc, IC::UtilityId id, Code::ExtraICState extra_state) |
static void | GenerateNormal (MacroAssembler *masm, int argc) |
static void | GenerateMonomorphicCacheProbe (MacroAssembler *masm, int argc, Code::Kind kind, Code::ExtraICState extra_state) |
Static Protected Member Functions inherited from IC | |
static Code * | GetTargetAtAddress (Address address) |
static void | SetTargetAtAddress (Address address, Code *target) |
static void | PostPatching (Address address, Code *target, Code *old_target) |
Protected Attributes inherited from CallICBase | |
Code::Kind | kind_ |
Definition at line 267 of file ic.h.
References ASSERT, and IC::target().
|
inlinestatic |
Definition at line 272 of file ic.h.
References CallIC::GenerateMiss().
|
static |
|
inlinestatic |
Definition at line 278 of file ic.h.
References CallICBase::GenerateMiss().
Referenced by CallIC::GenerateInitialize(), and CallIC::GenerateNormal().
|
inlinestatic |
Definition at line 288 of file ic.h.
References CallIC::GenerateMiss(), CallICBase::GenerateNormal(), and Code::kNoExtraICState.