v8  3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HType Class Reference

#include <hydrogen-instructions.h>

Public Member Functions

 HType ()
 
HType Combine (HType other)
 
bool Equals (const HType &other)
 
bool IsSubtypeOf (const HType &other)
 
bool IsTagged ()
 
bool IsTaggedPrimitive ()
 
bool IsTaggedNumber ()
 
bool IsSmi ()
 
bool IsHeapNumber ()
 
bool IsString ()
 
bool IsBoolean ()
 
bool IsNonPrimitive ()
 
bool IsJSArray ()
 
bool IsJSObject ()
 
bool IsUninitialized ()
 
bool IsHeapObject ()
 
const char * ToString ()
 

Static Public Member Functions

static HType Tagged ()
 
static HType TaggedPrimitive ()
 
static HType TaggedNumber ()
 
static HType Smi ()
 
static HType HeapNumber ()
 
static HType String ()
 
static HType Boolean ()
 
static HType NonPrimitive ()
 
static HType JSArray ()
 
static HType JSObject ()
 
static HType Uninitialized ()
 
static HType TypeFromValue (Handle< Object > value)
 

Detailed Description

Definition at line 339 of file hydrogen-instructions.h.

Constructor & Destructor Documentation

Member Function Documentation

HType Combine ( HType  other)
inline

Definition at line 356 of file hydrogen-instructions.h.

References HType::HType().

Referenced by HPhi::CalculateInferredType(), and HType::IsSubtypeOf().

bool Equals ( const HType other)
inline
static HType HeapNumber ( )
inlinestatic

Definition at line 347 of file hydrogen-instructions.h.

References HType::HType().

Referenced by HChange::CalculateInferredType(), and HType::TypeFromValue().

bool IsBoolean ( )
inline

Definition at line 398 of file hydrogen-instructions.h.

References ASSERT.

Referenced by HCheckNonSmi::Canonicalize().

bool IsHeapNumber ( )
inline

Definition at line 388 of file hydrogen-instructions.h.

References ASSERT.

Referenced by HCheckNonSmi::Canonicalize(), and HType::IsHeapObject().

bool IsHeapObject ( )
inline
bool IsJSArray ( )
inline

Definition at line 408 of file hydrogen-instructions.h.

References ASSERT.

bool IsJSObject ( )
inline

Definition at line 413 of file hydrogen-instructions.h.

References ASSERT.

bool IsNonPrimitive ( )
inline

Definition at line 403 of file hydrogen-instructions.h.

References ASSERT.

Referenced by HCheckNonSmi::Canonicalize(), and HType::IsHeapObject().

bool IsSmi ( )
inline

Definition at line 383 of file hydrogen-instructions.h.

References ASSERT.

bool IsString ( )
inline

Definition at line 393 of file hydrogen-instructions.h.

References ASSERT.

Referenced by HCheckNonSmi::Canonicalize(), and HType::IsHeapObject().

bool IsSubtypeOf ( const HType other)
inline

Definition at line 364 of file hydrogen-instructions.h.

References HType::Combine(), and HType::Equals().

Referenced by HValue::set_type().

bool IsTagged ( )
inline

Definition at line 368 of file hydrogen-instructions.h.

References ASSERT.

bool IsTaggedNumber ( )
inline

Definition at line 378 of file hydrogen-instructions.h.

References ASSERT.

bool IsTaggedPrimitive ( )
inline

Definition at line 373 of file hydrogen-instructions.h.

References ASSERT.

bool IsUninitialized ( )
inline

Definition at line 418 of file hydrogen-instructions.h.

Referenced by HCheckNonSmi::Canonicalize().

static HType JSArray ( )
inlinestatic
static HType NonPrimitive ( )
inlinestatic

Definition at line 350 of file hydrogen-instructions.h.

References HType::HType().

static HType TaggedPrimitive ( )
inlinestatic

Definition at line 344 of file hydrogen-instructions.h.

References HType::HType().

const char * ToString ( )

Definition at line 236 of file hydrogen-instructions.cc.

References UNREACHABLE.

static HType Uninitialized ( )
inlinestatic

Definition at line 353 of file hydrogen-instructions.h.

References HType::HType().

Referenced by HPhi::CalculateInferredType().


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