Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(693)

Unified Diff: pkg/compiler/lib/src/serialization/task.dart

Issue 1901683002: Support deserialization of ResolutionImpact for members of unnamed mixin applications (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
« no previous file with comments | « pkg/compiler/lib/src/serialization/serialization_util.dart ('k') | tests/compiler/dart2js/serialization_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698