Index: runtime/vm/flow_graph_builder.cc |
diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc |
index 39f41b7e8834de6e1a063b959a194f268629f61b..bd0766772282199d0ecb66842c6d4865270fea02 100644 |
--- a/runtime/vm/flow_graph_builder.cc |
+++ b/runtime/vm/flow_graph_builder.cc |
@@ -2411,7 +2411,6 @@ 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()); |