![]() |
v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <ic.h>


Public Types | |
| enum | State { UNINITIALIZED, SMIS, HEAP_NUMBERS, SYMBOLS, STRINGS, OBJECTS, KNOWN_OBJECTS, GENERIC } |
Public Types inherited from IC | |
| enum | UtilityId { kUtilityCount } |
| enum | FrameDepth { NO_EXTRA_FRAME = 0, EXTRA_CALL_FRAME = 1 } |
| typedef InlineCacheState | State |
Public Member Functions | |
| CompareIC (Isolate *isolate, Token::Value op) | |
| void | UpdateCaches (Handle< Object > x, Handle< Object > y) |
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 Handle< Code > | GetUninitialized (Token::Value op) |
| static Condition | ComputeCondition (Token::Value op) |
| static State | ComputeState (Code *target) |
| static Token::Value | ComputeOperation (Code *target) |
| static const char * | GetStateName (State state) |
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 | |
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) |
| enum State |
|
inline |
|
static |
|
static |
Definition at line 2558 of file ic.cc.
References ASSERT, Code::compare_operation(), and Code::major_key().
|
static |
Definition at line 2550 of file ic.cc.
References ASSERT, v8::internal::Compare(), Code::compare_state(), CompareIC::GENERIC, and Code::major_key().
|
static |
Definition at line 2564 of file ic.cc.
References CompareIC::GENERIC, CompareIC::HEAP_NUMBERS, CompareIC::KNOWN_OBJECTS, v8::internal::NULL, CompareIC::OBJECTS, CompareIC::SMIS, CompareIC::STRINGS, CompareIC::SYMBOLS, CompareIC::UNINITIALIZED, and UNREACHABLE.
|
static |
Definition at line 2544 of file ic.cc.
References CompareIC::UNINITIALIZED.