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

Side by Side Diff: pkg/compiler/lib/src/serialization/task.dart

Issue 1856713002: Test ResolutionImpact equivalence. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js.serialization.task; 5 library dart2js.serialization.task;
6 6
7 import '../common/resolution.dart' show 7 import '../common/resolution.dart' show
8 ResolutionImpact,
8 ResolutionWorkItem; 9 ResolutionWorkItem;
9 import '../common/tasks.dart' show 10 import '../common/tasks.dart' show
10 CompilerTask; 11 CompilerTask;
11 import '../common/work.dart' show 12 import '../common/work.dart' show
12 ItemCompilationContext; 13 ItemCompilationContext;
13 import '../compiler.dart' show 14 import '../compiler.dart' show
14 Compiler; 15 Compiler;
15 import '../elements/elements.dart'; 16 import '../elements/elements.dart';
16 import '../enqueue.dart' show 17 import '../enqueue.dart' show
17 ResolutionEnqueuer; 18 ResolutionEnqueuer;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 world.registerProcessedElement(element); 83 world.registerProcessedElement(element);
83 return worldImpact; 84 return worldImpact;
84 } 85 }
85 } 86 }
86 87
87 /// The interface for a system that supports deserialization of libraries and 88 /// The interface for a system that supports deserialization of libraries and
88 /// elements. 89 /// elements.
89 abstract class DeserializerSystem { 90 abstract class DeserializerSystem {
90 LibraryElement readLibrary(Uri resolvedUri); 91 LibraryElement readLibrary(Uri resolvedUri);
91 bool isDeserialized(Element element); 92 bool isDeserialized(Element element);
93 ResolutionImpact getResolutionImpact(Element element);
92 WorldImpact computeWorldImpact(Element element); 94 WorldImpact computeWorldImpact(Element element);
93 } 95 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/serialization/modelz.dart ('k') | pkg/compiler/lib/src/universe/selector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698