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
HGraphBuilder::V8_FINAL Class Reference

#include <hydrogen.h>

Public Types

enum  Direction { kPreIncrement, kPostIncrement, kPreDecrement, kPostDecrement }
 
enum  FillMode { DONT_FILL_WITH_HOLE, FILL_WITH_HOLE }
 

Public Member Functions

 IfBuilder (HGraphBuilder *builder)
 
 IfBuilder (HGraphBuilder *builder, HIfContinuation *continuation)
 
 ~IfBuilder ()
 
template<class Condition >
ConditionIf (HValue *p)
 
template<class Condition , class P2 >
ConditionIf (HValue *p1, P2 p2)
 
template<class Condition , class P2 , class P3 >
ConditionIf (HValue *p1, P2 p2, P3 p3)
 
template<class Condition >
ConditionIfNot (HValue *p)
 
template<class Condition , class P2 >
ConditionIfNot (HValue *p1, P2 p2)
 
template<class Condition , class P2 , class P3 >
ConditionIfNot (HValue *p1, P2 p2, P3 p3)
 
template<class Condition >
ConditionOrIf (HValue *p)
 
template<class Condition , class P2 >
ConditionOrIf (HValue *p1, P2 p2)
 
template<class Condition , class P2 , class P3 >
ConditionOrIf (HValue *p1, P2 p2, P3 p3)
 
template<class Condition >
ConditionAndIf (HValue *p)
 
template<class Condition , class P2 >
ConditionAndIf (HValue *p1, P2 p2)
 
template<class Condition , class P2 , class P3 >
ConditionAndIf (HValue *p1, P2 p2, P3 p3)
 
void Or ()
 
void And ()
 
void CaptureContinuation (HIfContinuation *continuation)
 
void JoinContinuation (HIfContinuation *continuation)
 
void Then ()
 
void Else ()
 
void End ()
 
void Deopt (const char *reason)
 
void ThenDeopt (const char *reason)
 
void ElseDeopt (const char *reason)
 
void Return (HValue *value)
 
 LoopBuilder (HGraphBuilder *builder, HValue *context, Direction direction)
 
 LoopBuilder (HGraphBuilder *builder, HValue *context, Direction direction, HValue *increment_amount)
 
 ~LoopBuilder ()
 
HValueBeginBody (HValue *initial, HValue *terminating, Token::Value token)
 
void Break ()
 
void EndBody ()
 
 JSArrayBuilder (HGraphBuilder *builder, ElementsKind kind, HValue *allocation_site_payload, HValue *constructor_function, AllocationSiteOverrideMode override_mode)
 
 JSArrayBuilder (HGraphBuilder *builder, ElementsKind kind, HValue *constructor_function=NULL)
 
ElementsKind kind ()
 
HValueAllocateEmptyArray ()
 
HValueAllocateArray (HValue *capacity, HValue *length_field, FillMode fill_mode=FILL_WITH_HOLE)
 
HValueGetElementsLocation ()
 
HValueEmitMapCode ()
 

Detailed Description

Definition at line 1449 of file hydrogen.h.

Member Enumeration Documentation

enum Direction
Enumerator
kPreIncrement 
kPostIncrement 
kPreDecrement 
kPostDecrement 

Definition at line 1644 of file hydrogen.h.

enum FillMode
Enumerator
DONT_FILL_WITH_HOLE 
FILL_WITH_HOLE 

Definition at line 1705 of file hydrogen.h.

Constructor & Destructor Documentation

~IfBuilder ( )
inline

Definition at line 1455 of file hydrogen.h.

~LoopBuilder ( )
inline

Definition at line 1659 of file hydrogen.h.

References ASSERT.

Member Function Documentation

HValue* AllocateArray ( HValue capacity,
HValue length_field,
FillMode  fill_mode = FILL_WITH_HOLE 
)
HValue* AllocateEmptyArray ( )
void And ( )
Condition* AndIf ( HValue p)
inline

Definition at line 1520 of file hydrogen.h.

Condition* AndIf ( HValue p1,
P2  p2 
)
inline

Definition at line 1526 of file hydrogen.h.

References v8::internal::p1, and v8::internal::p2.

Condition* AndIf ( HValue p1,
P2  p2,
P3  p3 
)
inline

Definition at line 1532 of file hydrogen.h.

References v8::internal::p1, v8::internal::p2, and v8::internal::p3.

HValue* BeginBody ( HValue initial,
HValue terminating,
Token::Value  token 
)
void Break ( )
void CaptureContinuation ( HIfContinuation *  continuation)
void Deopt ( const char *  reason)
void Else ( )
void ElseDeopt ( const char *  reason)
inline

Definition at line 1593 of file hydrogen.h.

HValue* EmitMapCode ( )
void End ( )
void EndBody ( )
HValue* GetElementsLocation ( )
inline

Definition at line 1715 of file hydrogen.h.

Condition* If ( HValue p)
inline

Definition at line 1460 of file hydrogen.h.

References HGraphBuilder::New().

Condition* If ( HValue p1,
P2  p2 
)
inline

Definition at line 1467 of file hydrogen.h.

References HGraphBuilder::New(), v8::internal::p1, and v8::internal::p2.

Condition* If ( HValue p1,
P2  p2,
P3  p3 
)
inline
IfBuilder ( HGraphBuilder builder)
explicit
IfBuilder ( HGraphBuilder builder,
HIfContinuation *  continuation 
)
Condition* IfNot ( HValue p)
inline

Definition at line 1481 of file hydrogen.h.

Condition* IfNot ( HValue p1,
P2  p2 
)
inline

Definition at line 1488 of file hydrogen.h.

References v8::internal::p1, and v8::internal::p2.

Condition* IfNot ( HValue p1,
P2  p2,
P3  p3 
)
inline

Definition at line 1495 of file hydrogen.h.

References v8::internal::p1, v8::internal::p2, and v8::internal::p3.

void JoinContinuation ( HIfContinuation *  continuation)
JSArrayBuilder ( HGraphBuilder builder,
ElementsKind  kind,
HValue allocation_site_payload,
HValue constructor_function,
AllocationSiteOverrideMode  override_mode 
)
JSArrayBuilder ( HGraphBuilder builder,
ElementsKind  kind,
HValue constructor_function = NULL 
)
ElementsKind kind ( )
inline

Definition at line 1710 of file hydrogen.h.

LoopBuilder ( HGraphBuilder builder,
HValue context,
Direction  direction 
)
LoopBuilder ( HGraphBuilder builder,
HValue context,
Direction  direction,
HValue increment_amount 
)
void Or ( )
Condition* OrIf ( HValue p)
inline

Definition at line 1502 of file hydrogen.h.

Condition* OrIf ( HValue p1,
P2  p2 
)
inline

Definition at line 1508 of file hydrogen.h.

References v8::internal::p1, and v8::internal::p2.

Condition* OrIf ( HValue p1,
P2  p2,
P3  p3 
)
inline

Definition at line 1514 of file hydrogen.h.

References v8::internal::p1, v8::internal::p2, and v8::internal::p3.

void Return ( HValue value)
void Then ( )
void ThenDeopt ( const char *  reason)
inline

Definition at line 1589 of file hydrogen.h.


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