V8 Project
|
#include <control-builders.h>
Public Member Functions | |
IfBuilder (StructuredGraphBuilder *builder) | |
void | If (Node *condition) |
void | Then () |
void | Else () |
void | End () |
![]() | |
ControlBuilder (StructuredGraphBuilder *builder) | |
virtual | ~ControlBuilder () |
virtual void | Break () |
virtual void | Continue () |
Private Attributes | |
Environment * | then_environment_ |
Environment * | else_environment_ |
Additional Inherited Members | |
![]() | |
typedef StructuredGraphBuilder | Builder |
typedef StructuredGraphBuilder::Environment | Environment |
![]() | |
Zone * | zone () const |
Environment * | environment () |
void | set_environment (Environment *env) |
![]() | |
Builder * | builder_ |
Definition at line 44 of file control-builders.h.
|
inlineexplicit |
Definition at line 46 of file control-builders.h.
void v8::internal::compiler::IfBuilder::Else | ( | ) |
Definition at line 21 of file control-builders.cc.
References v8::internal::compiler::ControlBuilder::builder_, else_environment_, v8::internal::compiler::ControlBuilder::environment(), v8::internal::compiler::StructuredGraphBuilder::NewIfFalse(), v8::internal::compiler::StructuredGraphBuilder::NewMerge(), v8::internal::compiler::ControlBuilder::set_environment(), and then_environment_.
Referenced by v8::internal::compiler::LoopBuilder::BreakUnless(), v8::internal::compiler::AstGraphBuilder::BuildHoleCheckSilent(), v8::internal::compiler::AstGraphBuilder::BuildHoleCheckThrow(), and v8::internal::compiler::AstGraphBuilder::VisitLogicalExpression().
void v8::internal::compiler::IfBuilder::End | ( | ) |
Definition at line 29 of file control-builders.cc.
References v8::internal::compiler::ControlBuilder::environment(), v8::internal::compiler::StructuredGraphBuilder::Environment::Merge(), v8::internal::compiler::ControlBuilder::set_environment(), and then_environment_.
Referenced by v8::internal::compiler::LoopBuilder::BreakUnless(), v8::internal::compiler::AstGraphBuilder::BuildHoleCheckSilent(), v8::internal::compiler::AstGraphBuilder::BuildHoleCheckThrow(), and v8::internal::compiler::AstGraphBuilder::VisitLogicalExpression().
void v8::internal::compiler::IfBuilder::If | ( | Node * | condition | ) |
Definition at line 12 of file control-builders.cc.
References v8::internal::compiler::ControlBuilder::builder_, v8::internal::compiler::StructuredGraphBuilder::Environment::CopyForConditional(), else_environment_, v8::internal::compiler::ControlBuilder::environment(), and v8::internal::compiler::StructuredGraphBuilder::NewBranch().
Referenced by v8::internal::compiler::LoopBuilder::BreakUnless(), v8::internal::compiler::AstGraphBuilder::BuildHoleCheckSilent(), v8::internal::compiler::AstGraphBuilder::BuildHoleCheckThrow(), and v8::internal::compiler::AstGraphBuilder::VisitLogicalExpression().
void v8::internal::compiler::IfBuilder::Then | ( | ) |
Definition at line 18 of file control-builders.cc.
References v8::internal::compiler::ControlBuilder::builder_, and v8::internal::compiler::StructuredGraphBuilder::NewIfTrue().
Referenced by v8::internal::compiler::LoopBuilder::BreakUnless(), v8::internal::compiler::AstGraphBuilder::BuildHoleCheckSilent(), v8::internal::compiler::AstGraphBuilder::BuildHoleCheckThrow(), and v8::internal::compiler::AstGraphBuilder::VisitLogicalExpression().
|
private |
Definition at line 59 of file control-builders.h.
|
private |
Definition at line 58 of file control-builders.h.