Index: pkg/compiler/lib/src/serialization/task.dart |
diff --git a/pkg/compiler/lib/src/serialization/task.dart b/pkg/compiler/lib/src/serialization/task.dart |
index 1289b77f152324c35f64e1bb75fc90a2fba8f498..fcbd3d68c748ed0388924dc1332f62d3da0654a3 100644 |
--- a/pkg/compiler/lib/src/serialization/task.dart |
+++ b/pkg/compiler/lib/src/serialization/task.dart |
@@ -46,6 +46,16 @@ class SerializationTask extends CompilerTask implements LibraryDeserializer { |
return deserializer != null && deserializer.isDeserialized(element); |
} |
+ bool hasResolutionImpact(Element element) { |
+ return deserializer != null && deserializer.hasResolutionImpact(element); |
+ } |
+ |
+ ResolutionImpact getResolutionImpact(Element element) { |
+ return deserializer != null |
+ ? deserializer.getResolutionImpact(element) |
+ : null; |
+ } |
+ |
/// Creates the [ResolutionWorkItem] for the deserialized [element]. |
ResolutionWorkItem createResolutionWorkItem( |
Element element, ItemCompilationContext context) { |
@@ -85,6 +95,7 @@ abstract class DeserializerSystem { |
Future<LibraryElement> readLibrary(Uri resolvedUri); |
bool isDeserialized(Element element); |
ResolvedAst getResolvedAst(Element element); |
+ bool hasResolutionImpact(Element element); |
ResolutionImpact getResolutionImpact(Element element); |
WorldImpact computeWorldImpact(Element element); |
} |