v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <type-info.h>
Public Member Functions | |
TypeInfo () | |
int | ToInt () |
bool | Equals (const TypeInfo &other) |
bool | IsUnknown () |
bool | IsPrimitive () |
bool | IsNumber () |
bool | IsSmi () |
bool | IsSymbol () |
bool | IsNonSymbol () |
bool | IsInteger32 () |
bool | IsDouble () |
bool | IsString () |
bool | IsNonPrimitive () |
bool | IsUninitialized () |
const char * | ToString () |
Static Public Member Functions | |
static TypeInfo | Unknown () |
static TypeInfo | Primitive () |
static TypeInfo | Number () |
static TypeInfo | Integer32 () |
static TypeInfo | Smi () |
static TypeInfo | Symbol () |
static TypeInfo | Double () |
static TypeInfo | String () |
static TypeInfo | NonPrimitive () |
static TypeInfo | Uninitialized () |
static TypeInfo | FromInt (int bit_representation) |
static TypeInfo | Combine (TypeInfo a, TypeInfo b) |
static bool | IsInt32Double (double value) |
static TypeInfo | TypeFromValue (Handle< Object > value) |
Definition at line 55 of file type-info.h.
|
inline |
Definition at line 57 of file type-info.h.
Referenced by TypeInfo::Combine(), TypeInfo::Double(), TypeInfo::FromInt(), TypeInfo::Integer32(), TypeInfo::NonPrimitive(), TypeInfo::Number(), TypeInfo::Primitive(), TypeInfo::Smi(), TypeInfo::String(), TypeInfo::Symbol(), TypeInfo::Uninitialized(), and TypeInfo::Unknown().
Definition at line 97 of file type-info.h.
References TypeInfo::TypeInfo().
Definition at line 71 of file type-info.h.
References TypeInfo::TypeInfo().
Referenced by TypeFeedbackOracle::BinaryType(), TypeFeedbackOracle::IncrementType(), TypeInfo::TypeFromValue(), and TypeFeedbackOracle::UnaryType().
|
inline |
Definition at line 119 of file type-info.h.
|
inlinestatic |
Definition at line 83 of file type-info.h.
References ASSERT, and TypeInfo::TypeInfo().
|
inlinestatic |
Definition at line 65 of file type-info.h.
References TypeInfo::TypeInfo().
Referenced by TypeFeedbackOracle::BinaryType(), TypeFeedbackOracle::IncrementType(), and TypeInfo::TypeFromValue().
|
inline |
Definition at line 158 of file type-info.h.
References ASSERT.
|
inlinestatic |
Definition at line 106 of file type-info.h.
References DoubleRepresentation::bits, v8::internal::kMaxInt, and v8::internal::kMinInt.
Referenced by HDiv::NewHDiv(), and TypeInfo::TypeFromValue().
|
inline |
Definition at line 153 of file type-info.h.
References ASSERT.
Referenced by BinaryOpIC::GetTypeInfo().
|
inline |
Definition at line 168 of file type-info.h.
References ASSERT.
Referenced by CaseClause::RecordTypeFeedback(), and CompareOperation::RecordTypeFeedback().
|
inline |
Definition at line 148 of file type-info.h.
References ASSERT.
Referenced by CaseClause::RecordTypeFeedback().
|
inline |
Definition at line 133 of file type-info.h.
References ASSERT.
Referenced by UnaryOpIC::GetTypeInfo(), and BinaryOpIC::GetTypeInfo().
|
inline |
Definition at line 128 of file type-info.h.
References ASSERT.
|
inline |
Definition at line 138 of file type-info.h.
References ASSERT.
Referenced by UnaryOpIC::GetTypeInfo(), BinaryOpIC::GetTypeInfo(), CaseClause::RecordTypeFeedback(), and CompareOperation::RecordTypeFeedback().
|
inline |
Definition at line 163 of file type-info.h.
References ASSERT.
Referenced by BinaryOpIC::GetTypeInfo().
|
inline |
Definition at line 143 of file type-info.h.
References ASSERT.
Referenced by CaseClause::RecordTypeFeedback().
|
inline |
Definition at line 173 of file type-info.h.
|
inline |
Definition at line 123 of file type-info.h.
References ASSERT.
|
inlinestatic |
Definition at line 75 of file type-info.h.
References TypeInfo::TypeInfo().
Referenced by TypeFeedbackOracle::CompareType(), and TypeFeedbackOracle::SwitchType().
Definition at line 63 of file type-info.h.
References TypeInfo::TypeInfo().
Referenced by TypeFeedbackOracle::CompareType(), and TypeFeedbackOracle::SwitchType().
Definition at line 61 of file type-info.h.
References TypeInfo::TypeInfo().
Definition at line 67 of file type-info.h.
References TypeInfo::TypeInfo().
Referenced by TypeFeedbackOracle::BinaryType(), TypeFeedbackOracle::CompareType(), TypeFeedbackOracle::IncrementType(), TypeFeedbackOracle::SwitchType(), TypeInfo::TypeFromValue(), and TypeFeedbackOracle::UnaryType().
Definition at line 73 of file type-info.h.
References TypeInfo::TypeInfo().
Referenced by TypeFeedbackOracle::BinaryType(), TypeFeedbackOracle::CompareType(), TypeFeedbackOracle::SwitchType(), and TypeInfo::TypeFromValue().
Definition at line 69 of file type-info.h.
References TypeInfo::TypeInfo().
Referenced by TypeFeedbackOracle::SwitchType().
|
inline |
Definition at line 79 of file type-info.h.
|
inline |
Definition at line 177 of file type-info.h.
References UNREACHABLE.
Definition at line 45 of file type-info.cc.
References HeapNumber::cast(), TypeInfo::Double(), TypeInfo::Integer32(), TypeInfo::IsInt32Double(), TypeInfo::Smi(), TypeInfo::String(), TypeInfo::Unknown(), and HeapNumber::value().
Referenced by UnaryOpIC::GetTypeInfo(), and BinaryOpIC::GetTypeInfo().
|
inlinestatic |
Definition at line 77 of file type-info.h.
References TypeInfo::TypeInfo().
Referenced by TypeFeedbackOracle::BinaryType(), and TypeFeedbackOracle::CompareType().
|
inlinestatic |
Definition at line 59 of file type-info.h.
References TypeInfo::TypeInfo().
Referenced by TypeFeedbackOracle::BinaryType(), TypeFeedbackOracle::CompareType(), TypeFeedbackOracle::IncrementType(), TypeFeedbackOracle::SwitchType(), TypeInfo::TypeFromValue(), and TypeFeedbackOracle::UnaryType().