v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <ic.h>
Public Member Functions | |
StoreIC (Isolate *isolate) | |
MUST_USE_RESULT MaybeObject * | Store (State state, StrictModeFlag strict_mode, Handle< Object > object, Handle< String > name, Handle< Object > value) |
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) |
static void | GenerateMiss (MacroAssembler *masm) |
static void | GenerateMegamorphic (MacroAssembler *masm, StrictModeFlag strict_mode) |
static void | GenerateArrayLength (MacroAssembler *masm) |
static void | GenerateNormal (MacroAssembler *masm) |
static void | GenerateGlobalProxy (MacroAssembler *masm, StrictModeFlag strict_mode) |
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) |
Friends | |
class | IC |
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 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 IC | |
static Code * | GetTargetAtAddress (Address address) |
static void | SetTargetAtAddress (Address address, Code *target) |
static void | PostPatching (Address address, Code *target, Code *old_target) |
Definition at line 567 of file ic.h.
References ASSERT, and IC::target().
|
static |
|
static |
|
inlinestatic |
Definition at line 578 of file ic.h.
References StoreIC::GenerateMiss().
|
static |
|
static |
Referenced by StoreIC::GenerateInitialize().
|
static |
MaybeObject * Store | ( | State | state, |
StrictModeFlag | strict_mode, | ||
Handle< Object > | object, | ||
Handle< String > | name, | ||
Handle< Object > | value | ||
) |
Definition at line 1341 of file ic.cc.
References Isolate::builtins(), Handle< T >::cast(), JSProxy::cast(), JSReceiver::CERTAINLY_NOT_STORE_FROM_KEYED, IC::IsContextual(), IC::isolate(), v8::internal::kStrictMode, NONE, v8::internal::PrintF(), IC::ReferenceError(), RETURN_IF_EMPTY_HANDLE, JSObject::SetElement(), v8::internal::SetProperty(), IC::target(), TRACE_IC, and IC::TypeError().