Index: pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart |
diff --git a/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart b/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart |
index d1f9253cd291a897616c76c5a1c033ce64dd0d60..8828f9237bb575f89c2af6971148e8b13d581bae 100644 |
--- a/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart |
+++ b/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart |
@@ -671,7 +671,6 @@ class TypeGraphInferrerEngine |
compiler.progress.reset(); |
} |
sortResolvedElements().forEach((Element element) { |
- assert(compiler.enqueuer.resolution.hasBeenProcessed(element)); |
if (compiler.shouldPrintProgress) { |
reporter.log('Added $addedInGraph elements in inferencing graph.'); |
compiler.progress.reset(); |
@@ -1221,10 +1220,10 @@ class TypeGraphInferrerEngine |
Iterable<Element> sortResolvedElements() { |
int max = 0; |
Map<int, Setlet<Element>> methodSizes = new Map<int, Setlet<Element>>(); |
- compiler.enqueuer.resolution.processedElements.forEach((AstElement element) { |
+ compiler.enqueuer.resolution.resolvedElements.forEach((AstElement element) { |
// TODO(ngeoffray): Not sure why the resolver would put a null |
// mapping. |
- if (!compiler.enqueuer.resolution.hasBeenProcessed(element)) return; |
+ if (!compiler.enqueuer.resolution.hasBeenResolved(element)) return; |
TreeElementMapping mapping = element.resolvedAst.elements; |
element = element.implementation; |
if (element.impliesType) return; |