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

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

Issue 1394793004: Move WorldImpact to universe/world_impact.dart (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 ResolutionWorkItem; 8 ResolutionWorkItem;
9 import '../common/tasks.dart' show 9 import '../common/tasks.dart' show
10 CompilerTask; 10 CompilerTask;
11 import '../common/work.dart' show 11 import '../common/work.dart' show
12 ItemCompilationContext; 12 ItemCompilationContext;
13 import '../compiler.dart' show 13 import '../compiler.dart' show
14 Compiler; 14 Compiler;
15 import '../elements/elements.dart'; 15 import '../elements/elements.dart';
16 import '../enqueue.dart' show 16 import '../enqueue.dart' show
17 ResolutionEnqueuer, 17 ResolutionEnqueuer;
18 import '../universe/world_impact.dart' show
18 WorldImpact; 19 WorldImpact;
19 20
20 /// Task that supports deserialization of elements. 21 /// Task that supports deserialization of elements.
21 class SerializationTask extends CompilerTask { 22 class SerializationTask extends CompilerTask {
22 SerializationTask(Compiler compiler) : super(compiler); 23 SerializationTask(Compiler compiler) : super(compiler);
23 24
24 DeserializerSystem deserializer; 25 DeserializerSystem deserializer;
25 26
26 String get name => 'Serialization'; 27 String get name => 'Serialization';
27 28
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 71 }
71 } 72 }
72 73
73 /// The interface for a system that supports deserialization of libraries and 74 /// The interface for a system that supports deserialization of libraries and
74 /// elements. 75 /// elements.
75 abstract class DeserializerSystem { 76 abstract class DeserializerSystem {
76 LibraryElement readLibrary(Uri resolvedUri); 77 LibraryElement readLibrary(Uri resolvedUri);
77 bool isDeserialized(Element element); 78 bool isDeserialized(Element element);
78 WorldImpact computeWorldImpact(Element element); 79 WorldImpact computeWorldImpact(Element element);
79 } 80 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/resolution.dart ('k') | pkg/compiler/lib/src/universe/world_impact.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698