v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <hydrogen.h>
Public Member Functions | |
TestContext (HGraphBuilder *owner, Expression *condition, HBasicBlock *if_true, HBasicBlock *if_false) | |
virtual void | ReturnValue (HValue *value) |
virtual void | ReturnInstruction (HInstruction *instr, int ast_id) |
virtual void | ReturnControl (HControlInstruction *instr, int ast_id) |
Expression * | condition () const |
HBasicBlock * | if_true () const |
HBasicBlock * | if_false () const |
Public Member Functions inherited from AstContext | |
bool | IsEffect () const |
bool | IsValue () const |
bool | IsTest () const |
void | set_for_typeof (bool for_typeof) |
bool | is_for_typeof () |
Static Public Member Functions | |
static TestContext * | cast (AstContext *context) |
Additional Inherited Members | |
Protected Member Functions inherited from AstContext | |
AstContext (HGraphBuilder *owner, Expression::Context kind) | |
virtual | ~AstContext () |
HGraphBuilder * | owner () const |
Zone * | zone () const |
Definition at line 674 of file hydrogen.h.
|
inline |
Definition at line 676 of file hydrogen.h.
|
inlinestatic |
Definition at line 690 of file hydrogen.h.
References ASSERT, and AstContext::IsTest().
Referenced by FunctionState::FunctionState().
|
inline |
Definition at line 695 of file hydrogen.h.
|
inline |
Definition at line 697 of file hydrogen.h.
Referenced by TestContext::ReturnControl().
|
inline |
Definition at line 696 of file hydrogen.h.
Referenced by TestContext::ReturnControl().
|
virtual |
Implements AstContext.
Definition at line 2686 of file hydrogen.cc.
References ASSERT, HGraph::CreateBasicBlock(), HGraphBuilder::current_block(), HBasicBlock::Finish(), HBasicBlock::Goto(), HGraphBuilder::graph(), HValue::HasObservableSideEffects(), TestContext::if_false(), TestContext::if_true(), v8::internal::NULL, AstContext::owner(), HGraphBuilder::set_current_block(), and HControlInstruction::SetSuccessorAt().
|
virtual |
Implements AstContext.
Definition at line 2671 of file hydrogen.cc.
References ASSERT, HValue::HasObservableSideEffects(), and AstContext::owner().
|
virtual |
Implements AstContext.
Definition at line 2616 of file hydrogen.cc.