v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <ic.h>
Public Types | |
enum | State { UNINITIALIZED, SMI, NUMBER, STRING, INTERNALIZED_STRING, UNIQUE_NAME, OBJECT, KNOWN_OBJECT, 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) | |
Code * | UpdateCaches (Handle< Object > x, Handle< Object > y) |
Public Member Functions inherited from IC | |
IC (FrameDepth depth, Isolate *isolate) | |
virtual | ~IC () |
State | state () const |
Address | address () const |
void | UpdateState (Handle< Object > receiver, Handle< Object > name) |
void | MarkMonomorphicPrototypeFailure () |
Friends | |
class | IC |
enum State |
|
inline |
|
static |
|
static |
Definition at line 2495 of file ic.cc.
References CompareIC::GENERIC, CompareIC::INTERNALIZED_STRING, CompareIC::KNOWN_OBJECT, v8::internal::NULL, CompareIC::OBJECT, CompareIC::SMI, CompareIC::STRING, CompareIC::UNINITIALIZED, CompareIC::UNIQUE_NAME, and UNREACHABLE.
Referenced by CompareIC::UpdateCaches().
|
static |
Definition at line 2489 of file ic.cc.
References CompareIC::UNINITIALIZED.
|
static |
Definition at line 2548 of file ic.cc.
References CompareIC::GENERIC, CompareIC::INTERNALIZED_STRING, Value::IsNumber(), Value::IsString(), Value::IsSymbol(), CompareIC::KNOWN_OBJECT, CompareIC::OBJECT, CompareIC::SMI, CompareIC::STRING, CompareIC::UNINITIALIZED, CompareIC::UNIQUE_NAME, and UNREACHABLE.
Referenced by CompareIC::UpdateCaches().
|
static |
Definition at line 2512 of file ic.cc.
References TypeImpl< ZoneTypeConfig >::Class(), CompareIC::GENERIC, CompareIC::INTERNALIZED_STRING, Handle< T >::is_null(), CompareIC::KNOWN_OBJECT, v8::None, v8::internal::NULL, CompareIC::NUMBER, CompareIC::OBJECT, CompareIC::SMI, CompareIC::STRING, CompareIC::UNINITIALIZED, CompareIC::UNIQUE_NAME, and UNREACHABLE.
Referenced by CompareIC::StubInfoToType().
|
static |
Definition at line 2533 of file ic.cc.
References ICCompareStub::DecodeMinorKey(), and CompareIC::StateToType().
Referenced by TypeFeedbackOracle::CompareType().
Definition at line 2654 of file ic.cc.
References IC::address(), ICCompareStub::DecodeMinorKey(), v8::internal::ENABLE_INLINED_SMI_CHECK, CompareIC::GetStateName(), IC::isolate(), CompareIC::KNOWN_OBJECT, v8::internal::map, Token::Name(), CompareIC::NewInputState(), v8::internal::PatchInlinedSmiCode(), v8::internal::PrintF(), JavaScriptFrame::PrintTop(), ICCompareStub::set_known_map(), IC::set_target(), IC::target(), and CompareIC::UNINITIALIZED.