v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#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 > | |
Condition * | If (HValue *p) |
template<class Condition , class P2 > | |
Condition * | If (HValue *p1, P2 p2) |
template<class Condition , class P2 , class P3 > | |
Condition * | If (HValue *p1, P2 p2, P3 p3) |
template<class Condition > | |
Condition * | IfNot (HValue *p) |
template<class Condition , class P2 > | |
Condition * | IfNot (HValue *p1, P2 p2) |
template<class Condition , class P2 , class P3 > | |
Condition * | IfNot (HValue *p1, P2 p2, P3 p3) |
template<class Condition > | |
Condition * | OrIf (HValue *p) |
template<class Condition , class P2 > | |
Condition * | OrIf (HValue *p1, P2 p2) |
template<class Condition , class P2 , class P3 > | |
Condition * | OrIf (HValue *p1, P2 p2, P3 p3) |
template<class Condition > | |
Condition * | AndIf (HValue *p) |
template<class Condition , class P2 > | |
Condition * | AndIf (HValue *p1, P2 p2) |
template<class Condition , class P2 , class P3 > | |
Condition * | AndIf (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 () | |
HValue * | BeginBody (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 () |
HValue * | AllocateEmptyArray () |
HValue * | AllocateArray (HValue *capacity, HValue *length_field, FillMode fill_mode=FILL_WITH_HOLE) |
HValue * | GetElementsLocation () |
HValue * | EmitMapCode () |
Definition at line 1449 of file hydrogen.h.
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.
|
inline |
Definition at line 1455 of file hydrogen.h.
|
inline |
Definition at line 1659 of file hydrogen.h.
References ASSERT.
HValue* AllocateArray | ( | HValue * | capacity, |
HValue * | length_field, | ||
FillMode | fill_mode = FILL_WITH_HOLE |
||
) |
HValue* AllocateEmptyArray | ( | ) |
void And | ( | ) |
Definition at line 1520 of file hydrogen.h.
Definition at line 1526 of file hydrogen.h.
References v8::internal::p1, and v8::internal::p2.
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 | ( | ) |
|
inline |
Definition at line 1593 of file hydrogen.h.
HValue* EmitMapCode | ( | ) |
void End | ( | ) |
void EndBody | ( | ) |
|
inline |
Definition at line 1715 of file hydrogen.h.
Definition at line 1460 of file hydrogen.h.
References HGraphBuilder::New().
Definition at line 1467 of file hydrogen.h.
References HGraphBuilder::New(), v8::internal::p1, and v8::internal::p2.
Definition at line 1474 of file hydrogen.h.
References HGraphBuilder::New(), v8::internal::p1, v8::internal::p2, and v8::internal::p3.
|
explicit |
IfBuilder | ( | HGraphBuilder * | builder, |
HIfContinuation * | continuation | ||
) |
Definition at line 1481 of file hydrogen.h.
Definition at line 1488 of file hydrogen.h.
References v8::internal::p1, and v8::internal::p2.
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 |
||
) |
|
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 | ( | ) |
Definition at line 1502 of file hydrogen.h.
Definition at line 1508 of file hydrogen.h.
References v8::internal::p1, and v8::internal::p2.
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 | ( | ) |
|
inline |
Definition at line 1589 of file hydrogen.h.