v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TypeImpl< class > Class Template Reference

#include <list.h>

Inheritance diagram for TypeImpl< class >:
Collaboration diagram for TypeImpl< class >:

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::MapAsClass ()
 
i::Handle< i::ObjectAsConstant ()
 
int NumClasses ()
 
int NumConstants ()
 
Iterator< i::MapClasses ()
 
Iterator< i::ObjectConstants ()
 
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 TypeImplcast (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
 

Detailed Description

template<class>
class v8::internal::TypeImpl< class >

Definition at line 211 of file list.h.

Member Typedef Documentation

typedef Config::Region Region

Definition at line 222 of file types.h.

typedef Config::template Handle<TypeImpl>::type TypeHandle

Definition at line 221 of file types.h.

Member Function Documentation

i::Handle<i::Object> AsConstant ( )
inline
static TypeImpl* cast ( typename Config::Base *  object)
inlinestatic

Definition at line 299 of file types.h.

Referenced by HeapTypeConfig::from_bitset().

static TypeHandle Class ( i::Handle< i::Map map,
Region region 
)
inlinestatic

Definition at line 232 of file types.h.

Iterator<i::Map> Classes ( )
inline

Definition at line 290 of file types.h.

Referenced by HGraphBuilder::BuildCompareNil().

static TypeHandle Constant ( i::Handle< i::Object value,
Region region 
)
inlinestatic

Definition at line 235 of file types.h.

Referenced by IC::CurrentTypeOf(), and PropertyCell::UpdatedType().

Iterator<i::Object> Constants ( )
inline

Definition at line 294 of file types.h.

static TypeHandle Convert ( typename OtherTypeImpl< class >::TypeHandle  type,
Region region 
)
static
TypeImpl<Config>::TypeHandle Convert ( typename OtherType::TypeHandle  type,
Region region 
)

Definition at line 547 of file types.cc.

References ASSERT.

bool Is ( TypeHandle  that)
inline

Definition at line 248 of file types.h.

Referenced by TypeImpl< ZoneTypeConfig >::Is().

bool IsCurrently ( TypeImpl< class > *  that)
bool IsCurrently ( TypeHandle  that)
inline

Definition at line 258 of file types.h.

Referenced by TypeImpl< ZoneTypeConfig >::IsCurrently().

bool Maybe ( TypeHandle  that)
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().

int NumConstants ( )

Definition at line 52 of file types.cc.

static TypeHandle Of ( i::Handle< i::Object value,
Region region 
)
inlinestatic

Definition at line 242 of file types.h.

TypeImpl< Config >::TypeHandle OfCurrently ( i::Handle< i::Object value,
Region region 
)
static
TypeImpl< Config >::TypeHandle Union ( TypeHandle  type1,
TypeHandle  type2,
Region reg 
)
static

Friends And Related Function Documentation

friend class Iterator
friend

Definition at line 316 of file types.h.

friend class TypeImpl
friend

Definition at line 317 of file types.h.


The documentation for this class was generated from the following files: