v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <list.h>
Data Structures | |
class | Iterator |
Public Types | |
typedef Config::template Handle< TypeImpl >::type | TypeHandle |
typedef Config::Region | Region |
Public Member Functions | |
bool | Is (TypeImpl *that) |
template<class TypeHandle > | |
bool | Is (TypeHandle that) |
bool | Maybe (TypeImpl *that) |
template<class TypeHandle > | |
bool | Maybe (TypeHandle that) |
bool | IsCurrently (TypeImpl *that) |
template<class TypeHandle > | |
bool | IsCurrently (TypeHandle that) |
bool | IsClass () |
bool | IsConstant () |
i::Handle< i::Map > | AsClass () |
i::Handle< i::Object > | AsConstant () |
int | NumClasses () |
int | NumConstants () |
Iterator< i::Map > | Classes () |
Iterator< i::Object > | Constants () |
template<class OtherType > | |
TypeImpl< Config >::TypeHandle | Convert (typename OtherType::TypeHandle type, Region *region) |
Static Public Member Functions | |
static TypeHandle | Class (i::Handle< i::Map > map, Region *region) |
static TypeHandle | Constant (i::Handle< i::Object > value, Region *region) |
static TypeHandle | Union (TypeHandle type1, TypeHandle type2, Region *reg) |
static TypeHandle | Intersect (TypeHandle type1, TypeHandle type2, Region *reg) |
static TypeHandle | Of (i::Handle< i::Object > value, Region *region) |
static TypeHandle | OfCurrently (i::Handle< i::Object > value, Region *region) |
static TypeImpl * | cast (typename Config::Base *object) |
template<class OtherTypeImpl > | |
static TypeHandle | Convert (typename OtherTypeImpl::TypeHandle type, Region *region) |
Friends | |
template<class > | |
class | Iterator |
template<class > | |
class | TypeImpl |
typedef Config::template Handle<TypeImpl>::type TypeHandle |
Definition at line 262 of file types.h.
Referenced by TypeImplIteratorAux< Config, i::Map >::current(), TypeImpl< class >::IsCurrently(), TypeImpl< class >::Maybe(), and IC::TypeToMap().
Definition at line 263 of file types.h.
Referenced by TypeImplIteratorAux< Config, i::Object >::current(), TypeImpl< class >::Maybe(), and IC::TypeToMap().
|
inlinestatic |
Definition at line 299 of file types.h.
Referenced by HeapTypeConfig::from_bitset().
|
inlinestatic |
Definition at line 290 of file types.h.
Referenced by HGraphBuilder::BuildCompareNil().
|
inlinestatic |
Definition at line 235 of file types.h.
Referenced by IC::CurrentTypeOf(), and PropertyCell::UpdatedType().
|
static |
TypeImpl<Config>::TypeHandle Convert | ( | typename OtherType::TypeHandle | type, |
Region * | region | ||
) |
|
static |
Definition at line 495 of file types.cc.
References ASSERT, v8::internal::Min(), v8::None, and v8::internal::size.
Referenced by BoundsImpl< ZoneTypeConfig >::Both(), BoundsImpl< ZoneTypeConfig >::Either(), BoundsImpl< ZoneTypeConfig >::NarrowLower(), and BoundsImpl< ZoneTypeConfig >::NarrowUpper().
|
inline |
Definition at line 246 of file types.h.
Referenced by HGraphBuilder::BuildBinaryOperation(), CodeStubGraphBuilder< Stub >::BuildCodeInitializedStub(), HGraphBuilder::BuildNumberToString(), HGraphBuilder::EnforceNumberType(), Representation::FromType(), IC::GetCodeCacheFlag(), IC::GetCodeCacheHolder(), HGraphBuilder::TruncateToNumber(), and IC::TypeToMap().
|
inline |
Definition at line 248 of file types.h.
Referenced by TypeImpl< ZoneTypeConfig >::Is().
|
inline |
Definition at line 260 of file types.h.
Referenced by TypeImpl< class >::IsCurrently(), TypeImplIteratorAux< Config, i::Map >::matches(), TypeImpl< class >::Maybe(), and IC::TypeToMap().
|
inline |
Definition at line 261 of file types.h.
Referenced by TypeImplIteratorAux< Config, i::Object >::matches(), TypeImpl< class >::Maybe(), IC::TryRemoveInvalidPrototypeDependentStub(), and IC::TypeToMap().
bool IsCurrently | ( | TypeImpl< class > * | that | ) |
Definition at line 329 of file types.cc.
References TypeImpl< class >::AsClass(), HeapObject::cast(), v8::internal::Is(), TypeImpl< class >::IsClass(), and HeapObject::map().
|
inline |
Definition at line 258 of file types.h.
Referenced by TypeImpl< ZoneTypeConfig >::IsCurrently().
Definition at line 339 of file types.cc.
References TypeImpl< class >::AsClass(), TypeImpl< class >::AsConstant(), ASSERT, TypeImpl< class >::IsClass(), and TypeImpl< class >::IsConstant().
Referenced by HGraphBuilder::BuildBinaryOperation(), CodeStubGraphBuilder< Stub >::BuildCodeInitializedStub(), and HGraphBuilder::BuildCompareNil().
|
inline |
Definition at line 251 of file types.h.
Referenced by TypeImpl< ZoneTypeConfig >::Maybe().
int NumClasses | ( | ) |
Definition at line 35 of file types.cc.
Referenced by HGraphBuilder::BuildCompareNil().
|
inlinestatic |
|
static |
Definition at line 274 of file types.cc.
References HeapObject::cast(), v8::internal::handle(), v8::internal::HEAP_NUMBER_TYPE, Map::instance_type(), HeapObject::map(), and v8::internal::ODDBALL_TYPE.
Referenced by IC::CurrentTypeOf().
|
static |
Definition at line 419 of file types.cc.
References ASSERT, and v8::internal::size.
Referenced by BoundsImpl< ZoneTypeConfig >::Both(), BoundsImpl< ZoneTypeConfig >::Either(), and BoundsImpl< ZoneTypeConfig >::NarrowLower().