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

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

Issue 2795763005: Revert "Add "load from .dill" file capability and run a white-box test." (Closed)
Patch Set: Created 3 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
« no previous file with comments | « pkg/compiler/lib/src/options.dart ('k') | tests/compiler/dart2js/analyze_unused_dart2js_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d052e4e2b3e3b8ff48615b9b7d72e7f5660dd262..6df97636dbbf9aeafc6f6e769a483ac6ed4ba3f2 100644
--- a/pkg/compiler/lib/src/serialization/task.dart
+++ b/pkg/compiler/lib/src/serialization/task.dart
@@ -11,7 +11,6 @@ import '../common/resolution.dart' show ResolutionImpact, ResolutionWorkItem;
import '../common/tasks.dart' show CompilerTask;
import '../compiler.dart' show Compiler;
import '../elements/elements.dart';
-import '../elements/entities.dart' show Entity;
import '../universe/world_impact.dart' show WorldImpact;
import 'json_serializer.dart';
import 'serialization.dart';
@@ -25,7 +24,7 @@ abstract class LibraryDeserializer {
Future<LibraryElement> readLibrary(Uri uri);
/// Returns `true` if [element] has been deserialized.
- bool isDeserialized(Entity element);
+ bool isDeserialized(Element element);
}
/// Task that supports deserialization of elements.
@@ -59,7 +58,7 @@ class SerializationTask extends CompilerTask implements LibraryDeserializer {
}
/// Returns `true` if [element] has been deserialized.
- bool isDeserialized(Entity element) {
+ bool isDeserialized(Element element) {
return deserializer != null && deserializer.isDeserialized(element);
}
@@ -154,7 +153,7 @@ class DeserializedResolutionWorkItem implements ResolutionWorkItem {
/// elements.
abstract class DeserializerSystem {
Future<LibraryElement> readLibrary(Uri resolvedUri);
- bool isDeserialized(Entity element);
+ bool isDeserialized(Element element);
bool hasResolvedAst(ExecutableElement element);
ResolvedAst getResolvedAst(ExecutableElement element);
bool hasResolutionImpact(Element element);
« no previous file with comments | « pkg/compiler/lib/src/options.dart ('k') | tests/compiler/dart2js/analyze_unused_dart2js_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698