v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <hydrogen.h>
Public Member Functions | |
TestContext (HGraphBuilder *owner, Expression *condition, TypeFeedbackOracle *oracle, HBasicBlock *if_true, HBasicBlock *if_false) | |
virtual void | ReturnValue (HValue *value) |
virtual void | ReturnInstruction (HInstruction *instr, BailoutId ast_id) |
virtual void | ReturnControl (HControlInstruction *instr, BailoutId ast_id) |
Expression * | condition () const |
TypeFeedbackOracle * | oracle () 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 703 of file hydrogen.h.
|
inline |
Definition at line 705 of file hydrogen.h.
|
inlinestatic |
Definition at line 721 of file hydrogen.h.
References ASSERT, and AstContext::IsTest().
Referenced by FunctionState::FunctionState().
|
inline |
Definition at line 726 of file hydrogen.h.
Referenced by FunctionState::FunctionState().
|
inline |
Definition at line 729 of file hydrogen.h.
Referenced by TestContext::ReturnControl().
|
inline |
Definition at line 728 of file hydrogen.h.
Referenced by TestContext::ReturnControl().
|
inline |
Definition at line 727 of file hydrogen.h.
Referenced by FunctionState::FunctionState().
|
virtual |
Implements AstContext.
Definition at line 3103 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 3088 of file hydrogen.cc.
References ASSERT, HValue::HasObservableSideEffects(), and AstContext::owner().
|
virtual |
Implements AstContext.
Definition at line 3032 of file hydrogen.cc.