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
HeapTypeConfig Struct Reference

#include <types.h>

Data Structures

struct  Handle
 

Public Types

typedef TypeImpl< HeapTypeConfigType
 
typedef i::Object Base
 
typedef i::FixedArray Unioned
 
typedef i::Isolate Region
 

Static Public Member Functions

static i::Handle< Typehandle (Type *type)
 
static bool is_bitset (Type *type)
 
static bool is_class (Type *type)
 
static bool is_constant (Type *type)
 
static bool is_union (Type *type)
 
static int as_bitset (Type *type)
 
static i::Handle< i::Mapas_class (Type *type)
 
static i::Handle< i::Objectas_constant (Type *type)
 
static i::Handle< Unionedas_union (Type *type)
 
static Typefrom_bitset (int bitset)
 
static i::Handle< Typefrom_bitset (int bitset, Isolate *isolate)
 
static i::Handle< Typefrom_class (i::Handle< i::Map > map, int lub, Isolate *isolate)
 
static i::Handle< Typefrom_constant (i::Handle< i::Object > value, int lub, Isolate *isolate)
 
static i::Handle< Typefrom_union (i::Handle< Unioned > unioned)
 
static i::Handle< Unionedunion_create (int size, Isolate *isolate)
 
static void union_shrink (i::Handle< Unioned > unioned, int size)
 
static i::Handle< Typeunion_get (i::Handle< Unioned > unioned, int i)
 
static void union_set (i::Handle< Unioned > unioned, int i, i::Handle< Type > type)
 
static int union_length (i::Handle< Unioned > unioned)
 
static int lub_bitset (Type *type)
 

Detailed Description

Definition at line 513 of file types.h.

Member Typedef Documentation

typedef i::Object Base

Definition at line 515 of file types.h.

typedef i::Isolate Region

Definition at line 517 of file types.h.

Definition at line 514 of file types.h.

Definition at line 516 of file types.h.

Member Function Documentation

static int as_bitset ( Type type)
inlinestatic

Definition at line 529 of file types.h.

References Smi::cast(), and Smi::value().

static i::Handle<i::Map> as_class ( Type type)
inlinestatic

Definition at line 532 of file types.h.

References Map::cast(), and v8::internal::handle().

static i::Handle<i::Object> as_constant ( Type type)
inlinestatic

Definition at line 535 of file types.h.

References Box::cast(), HeapObject::GetIsolate(), and v8::internal::handle().

static i::Handle<Unioned> as_union ( Type type)
inlinestatic

Definition at line 539 of file types.h.

References FixedArray::cast(), and v8::internal::handle().

static Type* from_bitset ( int  bitset)
inlinestatic

Definition at line 543 of file types.h.

References TypeImpl< class >::cast(), and Smi::FromInt().

Referenced by HeapTypeConfig::from_bitset().

static i::Handle<Type> from_bitset ( int  bitset,
Isolate isolate 
)
inlinestatic

Definition at line 546 of file types.h.

References HeapTypeConfig::from_bitset(), and v8::internal::handle().

static i::Handle<Type> from_class ( i::Handle< i::Map map,
int  lub,
Isolate isolate 
)
inlinestatic

Definition at line 549 of file types.h.

References Handle< T >::cast().

static i::Handle<Type> from_constant ( i::Handle< i::Object value,
int  lub,
Isolate isolate 
)
inlinestatic

Definition at line 553 of file types.h.

References Handle< T >::cast(), Isolate::factory(), and Factory::NewBox().

static i::Handle<Type> from_union ( i::Handle< Unioned unioned)
inlinestatic

Definition at line 558 of file types.h.

References Handle< T >::cast().

static i::Handle<Type> handle ( Type type)
inlinestatic

Definition at line 520 of file types.h.

References HeapObject::cast(), and v8::internal::handle().

static bool is_bitset ( Type type)
inlinestatic

Definition at line 524 of file types.h.

static bool is_class ( Type type)
inlinestatic

Definition at line 525 of file types.h.

static bool is_constant ( Type type)
inlinestatic

Definition at line 526 of file types.h.

static bool is_union ( Type type)
inlinestatic

Definition at line 527 of file types.h.

Referenced by HeapTypeConfig::union_get(), and HeapTypeConfig::union_set().

static int lub_bitset ( Type type)
inlinestatic

Definition at line 581 of file types.h.

static i::Handle<Unioned> union_create ( int  size,
Isolate isolate 
)
inlinestatic

Definition at line 562 of file types.h.

References Isolate::factory(), and Factory::NewFixedArray().

static i::Handle<Type> union_get ( i::Handle< Unioned unioned,
int  i 
)
inlinestatic

Definition at line 568 of file types.h.

References ASSERT, v8::internal::handle(), and HeapTypeConfig::is_union().

static int union_length ( i::Handle< Unioned unioned)
inlinestatic

Definition at line 578 of file types.h.

static void union_set ( i::Handle< Unioned unioned,
int  i,
i::Handle< Type type 
)
inlinestatic

Definition at line 573 of file types.h.

References ASSERT, and HeapTypeConfig::is_union().

static void union_shrink ( i::Handle< Unioned unioned,
int  size 
)
inlinestatic

Definition at line 565 of file types.h.


The documentation for this struct was generated from the following file: