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
types.h File Reference
#include "v8.h"
#include "objects.h"
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  TypeImpl< class >
 
class  TypeImpl< class >::Iterator< T >
 
struct  ZoneTypeConfig
 
class  ZoneTypeConfig::Base
 
struct  ZoneTypeConfig::Handle< T >
 
struct  HeapTypeConfig
 
struct  HeapTypeConfig::Handle< T >
 
struct  BoundsImpl< Config >
 

Namespaces

 v8
 
 v8::internal
 

Macros

#define MASK_BITSET_TYPE_LIST(V)
 
#define REPRESENTATION(k)   ((k) & kRepresentation)
 
#define SEMANTIC(k)   ((k) & kSemantic)
 
#define REPRESENTATION_BITSET_TYPE_LIST(V)
 
#define SEMANTIC_BITSET_TYPE_LIST(V)
 
#define BITSET_TYPE_LIST(V)
 
#define DEFINE_TYPE_CONSTRUCTOR(type, value)
 
#define DECLARE_TYPE(type, value)   k##type = (value),
 

Typedefs

typedef BoundsImpl
< ZoneTypeConfig > 
Bounds
 

Macro Definition Documentation

#define BITSET_TYPE_LIST (   V)
Value:
#define SEMANTIC_BITSET_TYPE_LIST(V)
Definition: types.h:152
#define REPRESENTATION_BITSET_TYPE_LIST(V)
Definition: types.h:135
#define MASK_BITSET_TYPE_LIST(V)
Definition: types.h:128

Definition at line 186 of file types.h.

Referenced by Types< Type, TypeHandle, Region >::Fuzz().

#define DECLARE_TYPE (   type,
  value 
)    k##type = (value),

Definition at line 327 of file types.h.

#define DEFINE_TYPE_CONSTRUCTOR (   type,
  value 
)
Value:
static TypeImpl* type() { return Config::from_bitset(k##type); } \
static TypeHandle type(Region* region) { \
return Config::from_bitset(k##type, region); \
}

Definition at line 224 of file types.h.

#define MASK_BITSET_TYPE_LIST (   V)
Value:
V(Representation, static_cast<int>(0xff800000)) \
V(Semantic, static_cast<int>(0x007fffff))

Definition at line 128 of file types.h.

#define REPRESENTATION (   k)    ((k) & kRepresentation)

Definition at line 132 of file types.h.

#define REPRESENTATION_BITSET_TYPE_LIST (   V)
Value:
V(None, 0) \
V(UntaggedInt8, 1 << 23 | kSemantic) \
V(UntaggedInt16, 1 << 24 | kSemantic) \
V(UntaggedInt32, 1 << 25 | kSemantic) \
V(UntaggedFloat32, 1 << 26 | kSemantic) \
V(UntaggedFloat64, 1 << 27 | kSemantic) \
V(UntaggedPtr, 1 << 28 | kSemantic) \
V(TaggedInt, 1 << 29 | kSemantic) \
V(TaggedPtr, -1 << 30 | kSemantic) /* MSB has to be sign-extended */ \
\
V(UntaggedInt, kUntaggedInt8 | kUntaggedInt16 | kUntaggedInt32) \
V(UntaggedFloat, kUntaggedFloat32 | kUntaggedFloat64) \
V(UntaggedNumber, kUntaggedInt | kUntaggedFloat) \
V(Untagged, kUntaggedNumber | kUntaggedPtr) \
V(Tagged, kTaggedInt | kTaggedPtr)
Definition: v8.h:2107

Definition at line 135 of file types.h.

#define SEMANTIC (   k)    ((k) & kSemantic)

Definition at line 133 of file types.h.

#define SEMANTIC_BITSET_TYPE_LIST (   V)

Definition at line 152 of file types.h.