| Index: runtime/vm/flow_graph_builder.cc
|
| diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc
|
| index bd0766772282199d0ecb66842c6d4865270fea02..39f41b7e8834de6e1a063b959a194f268629f61b 100644
|
| --- a/runtime/vm/flow_graph_builder.cc
|
| +++ b/runtime/vm/flow_graph_builder.cc
|
| @@ -2411,6 +2411,7 @@ void EffectGraphVisitor::VisitClosureNode(ClosureNode* node) {
|
| // compiler. If it was not, set it here.
|
| if (function.context_scope() == ContextScope::null()) {
|
| ASSERT(!is_implicit);
|
| + ASSERT(node->scope() != NULL);
|
| const ContextScope& context_scope = ContextScope::ZoneHandle(
|
| Z, node->scope()->PreserveOuterScope(owner()->context_level()));
|
| ASSERT(!function.HasCode());
|
|
|