| Index: runtime/vm/flow_graph_builder.cc
|
| diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc
|
| index e27565467c8ddb5d7233d9b721da45b3b71421b1..7a3683d982931d5e8974990355422e87256f527b 100644
|
| --- a/runtime/vm/flow_graph_builder.cc
|
| +++ b/runtime/vm/flow_graph_builder.cc
|
| @@ -1093,6 +1093,7 @@ void EffectGraphVisitor::VisitSwitchNode(SwitchNode* node) {
|
| // Note: The specification of switch/case is under discussion and may change
|
| // drastically.
|
| void EffectGraphVisitor::VisitCaseNode(CaseNode* node) {
|
| + InlineBailout("EffectGraphVisitor::VisitCaseNode (control)");
|
| const intptr_t len = node->case_expressions()->length();
|
| // Create case statements instructions.
|
| EffectGraphVisitor for_case_statements(owner(), temp_index());
|
| @@ -1188,6 +1189,7 @@ void EffectGraphVisitor::VisitCaseNode(CaseNode* node) {
|
| // f) loop-exit-target
|
| // g) break-join (optional)
|
| void EffectGraphVisitor::VisitWhileNode(WhileNode* node) {
|
| + InlineBailout("EffectGraphVisitor::VisitWhileNode (control)");
|
| TestGraphVisitor for_test(owner(),
|
| temp_index(),
|
| node->condition()->token_pos());
|
| @@ -1225,6 +1227,7 @@ void EffectGraphVisitor::VisitWhileNode(WhileNode* node) {
|
| // f) loop-exit-target
|
| // g) break-join
|
| void EffectGraphVisitor::VisitDoWhileNode(DoWhileNode* node) {
|
| + InlineBailout("EffectGraphVisitor::VisitDoWhileNode (control)");
|
| // Traverse body first in order to generate continue and break labels.
|
| EffectGraphVisitor for_body(owner(), temp_index());
|
| for_body.AddInstruction(
|
| @@ -1279,6 +1282,7 @@ void EffectGraphVisitor::VisitDoWhileNode(DoWhileNode* node) {
|
| // h) loop-exit-target
|
| // i) break-join
|
| void EffectGraphVisitor::VisitForNode(ForNode* node) {
|
| + InlineBailout("EffectGraphVisitor::VisitForNode (control)");
|
| EffectGraphVisitor for_initializer(owner(), temp_index());
|
| node->initializer()->Visit(&for_initializer);
|
| Append(for_initializer);
|
| @@ -1352,6 +1356,7 @@ void EffectGraphVisitor::VisitForNode(ForNode* node) {
|
|
|
|
|
| void EffectGraphVisitor::VisitJumpNode(JumpNode* node) {
|
| + InlineBailout("EffectGraphVisitor::VisitJumpNode (control)");
|
| for (intptr_t i = 0; i < node->inlined_finally_list_length(); i++) {
|
| EffectGraphVisitor for_effect(owner(), temp_index());
|
| node->InlinedFinallyNodeAt(i)->Visit(&for_effect);
|
| @@ -2631,7 +2636,7 @@ FlowGraph* FlowGraphBuilder::BuildGraph(InliningContext context) {
|
| AppendFragment(normal_entry, for_effect);
|
| // Check that the graph is properly terminated.
|
| ASSERT(!for_effect.is_open());
|
| - FlowGraph* graph = new FlowGraph(*this, graph_entry_, last_used_block_id_);
|
| + FlowGraph* graph = new FlowGraph(*this, graph_entry_);
|
| if (InInliningContext()) graph->set_exits(exits_);
|
| return graph;
|
| }
|
|
|