v8  3.14.5(node0.10.28)
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 354 of file hydrogen-instructions.h.

Constructor & Destructor Documentation

Member Function Documentation

HType Combine ( HType  other)
inline

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

References HType::HType().

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

bool Equals ( const HType other)
inline
bool IsBoolean ( )
inline

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

References ASSERT.

Referenced by HCheckNonSmi::Canonicalize().

bool IsHeapNumber ( )
inline

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

References ASSERT.

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

bool IsHeapObject ( )
inline
bool IsJSArray ( )
inline

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

References ASSERT.

bool IsJSObject ( )
inline

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

References ASSERT.

bool IsNonPrimitive ( )
inline

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

References ASSERT.

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

bool IsSmi ( )
inline

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

References ASSERT.

bool IsString ( )
inline

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

References ASSERT.

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

bool IsSubtypeOf ( const HType other)
inline

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

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

Referenced by HValue::set_type().

bool IsTagged ( )
inline

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

References ASSERT.

bool IsTaggedNumber ( )
inline

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

References ASSERT.

bool IsTaggedPrimitive ( )
inline

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

References ASSERT.

bool IsUninitialized ( )
inline

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

Referenced by HCheckNonSmi::Canonicalize().

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

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

References HType::HType().

static HType TaggedPrimitive ( )
inlinestatic

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

References HType::HType().

const char * ToString ( )

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

References UNREACHABLE.

static HType Uninitialized ( )
inlinestatic

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

References HType::HType().

Referenced by HPhi::CalculateInferredType().


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