v8
3.14.5(node0.10.28)
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, BailoutId ast_id) |
virtual void | ReturnControl (HControlInstruction *instr, BailoutId 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 685 of file hydrogen.h.
|
inlineexplicit |
Definition at line 687 of file hydrogen.h.
|
virtual |
Definition at line 3009 of file hydrogen.cc.
References ASSERT, v8::internal::JS_FUNCTION, v8::internal::NULL, and AstContext::owner().
|
inline |
Definition at line 696 of file hydrogen.h.
References v8::internal::ARGUMENTS_ALLOWED.
Referenced by ValueContext::ReturnControl(), ValueContext::ReturnInstruction(), and ValueContext::ReturnValue().
|
virtual |
Implements AstContext.
Definition at line 3068 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 3057 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 3022 of file hydrogen.cc.
References ValueContext::arguments_allowed(), HGraphBuilder::Bailout(), HValue::CheckFlag(), HValue::kIsArguments, AstContext::owner(), and HGraphBuilder::Push().