v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <hydrogen.h>
Public Member Functions | |
ValueContext (HGraphBuilder *owner, ArgumentsAllowedFlag flag) | |
virtual | ~ValueContext () |
virtual void | ReturnValue (HValue *value) |
virtual void | ReturnInstruction (HInstruction *instr, int ast_id) |
virtual void | ReturnControl (HControlInstruction *instr, int ast_id) |
bool | arguments_allowed () |
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 () |
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 656 of file hydrogen.h.
|
inlineexplicit |
Definition at line 658 of file hydrogen.h.
|
virtual |
Definition at line 2593 of file hydrogen.cc.
References ASSERT, v8::internal::JS_FUNCTION, v8::internal::NULL, and AstContext::owner().
|
inline |
Definition at line 667 of file hydrogen.h.
References v8::internal::ARGUMENTS_ALLOWED.
Referenced by ValueContext::ReturnControl(), ValueContext::ReturnInstruction(), and ValueContext::ReturnValue().
|
virtual |
Implements AstContext.
Definition at line 2651 of file hydrogen.cc.
References ValueContext::arguments_allowed(), ASSERT, HGraphBuilder::Bailout(), HValue::CheckFlag(), HGraph::CreateBasicBlock(), HGraphBuilder::CreateJoin(), HGraphBuilder::current_block(), HBasicBlock::Finish(), HGraphBuilder::graph(), HValue::HasObservableSideEffects(), HValue::kIsArguments, AstContext::owner(), HGraphBuilder::Push(), HGraphBuilder::set_current_block(), and HControlInstruction::SetSuccessorAt().
|
virtual |
Implements AstContext.
Definition at line 2640 of file hydrogen.cc.
References HGraphBuilder::AddInstruction(), HGraphBuilder::AddSimulate(), ValueContext::arguments_allowed(), ASSERT, HGraphBuilder::Bailout(), HValue::CheckFlag(), HValue::HasObservableSideEffects(), HValue::kIsArguments, AstContext::owner(), and HGraphBuilder::Push().
|
virtual |
Implements AstContext.
Definition at line 2606 of file hydrogen.cc.
References ValueContext::arguments_allowed(), HGraphBuilder::Bailout(), HValue::CheckFlag(), HValue::kIsArguments, AstContext::owner(), and HGraphBuilder::Push().