v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <ic.h>
Protected Member Functions | |
virtual Code::Kind | kind () const |
virtual Handle< Code > | ComputePolymorphicStub (MapHandleList *receiver_maps, StrictModeFlag strict_mode, KeyedAccessGrowMode grow_mode) |
Protected Member Functions inherited from KeyedIC | |
virtual Handle< Code > | string_stub () |
Handle< Code > | ComputeStub (Handle< JSObject > receiver, StubKind stub_kind, StrictModeFlag strict_mode, Handle< Code > default_stub) |
Handle< Code > | ComputeMonomorphicStubWithoutMapCheck (Handle< Map > receiver_map, StrictModeFlag strict_mode, KeyedAccessGrowMode grow_mode) |
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) |
Friends | |
class | IC |
|
inlineexplicit |
Definition at line 648 of file ic.h.
References ASSERT, and IC::target().
|
protectedvirtual |
Implements KeyedIC.
Definition at line 1763 of file ic.cc.
References ASSERT, List< T, P >::at(), v8::internal::code(), KeyedStoreStubCompiler::CompileStorePolymorphic(), KeyedIC::ComputeMonomorphicStubWithoutMapCheck(), Isolate::counters(), Handle< T >::is_null(), IC::isolate(), v8::internal::JS_ARRAY_TYPE, and PROFILE.
|
static |
|
inlinestatic |
Definition at line 660 of file ic.h.
References KeyedStoreIC::GenerateMiss().
|
static |
Referenced by KeyedStoreIC::GenerateInitialize().
|
static |
|
static |
|
static |
|
static |
|
static |
|
virtual |
|
inlinevirtual |
|
inlineprotectedvirtual |
MaybeObject * Store | ( | State | state, |
StrictModeFlag | strict_mode, | ||
Handle< Object > | object, | ||
Handle< Object > | name, | ||
Handle< Object > | value, | ||
bool | force_generic | ||
) |
Definition at line 1866 of file ic.cc.
References ASSERT, Handle< T >::cast(), JSProxy::cast(), KeyedIC::ComputeStub(), Isolate::heap(), Handle< T >::is_null(), IC::isolate(), v8::internal::kStrictMode, NONE, RETURN_IF_EMPTY_HANDLE, JSObject::SetElement(), Runtime::SetObjectProperty(), JSReceiver::SetProperty(), IC::target(), TRACE_GENERIC_IC, TRACE_IC, and IC::TypeError().