|
V8 Project
|
#include <control-builders.h>
Inheritance diagram for v8::internal::compiler::SwitchBuilder:
Collaboration diagram for v8::internal::compiler::SwitchBuilder:Public Member Functions | |
| SwitchBuilder (StructuredGraphBuilder *builder, int case_count) | |
| void | BeginSwitch () |
| void | BeginLabel (int index, Node *condition) |
| void | EndLabel () |
| void | DefaultAt (int index) |
| void | BeginCase (int index) |
| void | EndCase () |
| void | EndSwitch () |
| virtual void | Break () |
| int | case_count () const |
Public Member Functions inherited from v8::internal::compiler::ControlBuilder | |
| ControlBuilder (StructuredGraphBuilder *builder) | |
| virtual | ~ControlBuilder () |
| virtual void | Continue () |
Private Attributes | |
| Environment * | body_environment_ |
| Environment * | label_environment_ |
| Environment * | break_environment_ |
| ZoneList< Environment * > | body_environments_ |
Additional Inherited Members | |
Protected Types inherited from v8::internal::compiler::ControlBuilder | |
| typedef StructuredGraphBuilder | Builder |
| typedef StructuredGraphBuilder::Environment | Environment |
Protected Member Functions inherited from v8::internal::compiler::ControlBuilder | |
| Zone * | zone () const |
| Environment * | environment () |
| void | set_environment (Environment *env) |
Protected Attributes inherited from v8::internal::compiler::ControlBuilder | |
| Builder * | builder_ |
Definition at line 92 of file control-builders.h.
|
inlineexplicit |
Definition at line 94 of file control-builders.h.
| void v8::internal::compiler::SwitchBuilder::BeginCase | ( | int | index | ) |
Definition at line 105 of file control-builders.cc.
References body_environment_, body_environments_, v8::internal::compiler::ControlBuilder::environment(), v8::internal::compiler::StructuredGraphBuilder::Environment::Merge(), and v8::internal::compiler::ControlBuilder::set_environment().
Here is the call graph for this function:| void v8::internal::compiler::SwitchBuilder::BeginLabel | ( | int | index, |
| Node * | condition | ||
| ) |
Definition at line 85 of file control-builders.cc.
References body_environments_, v8::internal::compiler::ControlBuilder::builder_, v8::internal::compiler::StructuredGraphBuilder::Environment::CopyForConditional(), v8::internal::compiler::ControlBuilder::environment(), label_environment_, v8::internal::compiler::StructuredGraphBuilder::NewBranch(), and v8::internal::compiler::StructuredGraphBuilder::NewIfTrue().
Here is the call graph for this function:| void v8::internal::compiler::SwitchBuilder::BeginSwitch | ( | ) |
Definition at line 77 of file control-builders.cc.
References v8::internal::List< T, AllocationPolicy >::AddBlock(), body_environment_, body_environments_, break_environment_, case_count(), v8::internal::compiler::StructuredGraphBuilder::Environment::CopyAsUnreachable(), v8::internal::compiler::ControlBuilder::environment(), label_environment_, NULL, and v8::internal::compiler::ControlBuilder::zone().
Here is the call graph for this function:
|
virtual |
Reimplemented from v8::internal::compiler::ControlBuilder.
Definition at line 111 of file control-builders.cc.
References break_environment_, v8::internal::compiler::ControlBuilder::environment(), v8::internal::compiler::StructuredGraphBuilder::Environment::MarkAsUnreachable(), and v8::internal::compiler::StructuredGraphBuilder::Environment::Merge().
Here is the call graph for this function:
|
inline |
Definition at line 114 of file control-builders.h.
References body_environments_.
Referenced by BeginSwitch().
Here is the caller graph for this function:| void v8::internal::compiler::SwitchBuilder::DefaultAt | ( | int | index | ) |
Definition at line 99 of file control-builders.cc.
References body_environments_, v8::internal::compiler::StructuredGraphBuilder::Environment::CopyAsUnreachable(), v8::internal::compiler::ControlBuilder::environment(), and label_environment_.
Here is the call graph for this function:| void v8::internal::compiler::SwitchBuilder::EndCase | ( | ) |
Definition at line 117 of file control-builders.cc.
References body_environment_, and v8::internal::compiler::ControlBuilder::environment().
Here is the call graph for this function:| void v8::internal::compiler::SwitchBuilder::EndLabel | ( | ) |
Definition at line 93 of file control-builders.cc.
References v8::internal::compiler::ControlBuilder::builder_, label_environment_, v8::internal::compiler::StructuredGraphBuilder::NewIfFalse(), and v8::internal::compiler::ControlBuilder::set_environment().
Here is the call graph for this function:| void v8::internal::compiler::SwitchBuilder::EndSwitch | ( | ) |
Definition at line 120 of file control-builders.cc.
References break_environment_, v8::internal::compiler::ControlBuilder::environment(), label_environment_, v8::internal::compiler::StructuredGraphBuilder::Environment::Merge(), and v8::internal::compiler::ControlBuilder::set_environment().
Here is the call graph for this function:
|
private |
Definition at line 117 of file control-builders.h.
Referenced by BeginCase(), BeginSwitch(), and EndCase().
|
private |
Definition at line 120 of file control-builders.h.
Referenced by BeginCase(), BeginLabel(), BeginSwitch(), case_count(), and DefaultAt().
|
private |
Definition at line 119 of file control-builders.h.
Referenced by BeginSwitch(), Break(), and EndSwitch().
|
private |
Definition at line 118 of file control-builders.h.
Referenced by BeginLabel(), BeginSwitch(), DefaultAt(), EndLabel(), and EndSwitch().