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

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

Issue 1284673003: Move dart2jslib parts into separate libraries. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix try. Created 5 years, 4 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
« no previous file with comments | « pkg/compiler/lib/src/serialization/modelz.dart ('k') | pkg/compiler/lib/src/ssa/ssa.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 '../dart2jslib.dart'; 7 import '../dart2jslib.dart';
8 import '../elements/elements.dart'; 8 import '../elements/elements.dart';
9 import '../enqueue.dart' show
10 ResolutionEnqueuer,
11 WorldImpact;
9 12
10 /// Task that supports deserialization of elements. 13 /// Task that supports deserialization of elements.
11 class SerializationTask extends CompilerTask { 14 class SerializationTask extends CompilerTask {
12 SerializationTask(Compiler compiler) : super(compiler); 15 SerializationTask(Compiler compiler) : super(compiler);
13 16
14 DeserializerSystem deserializer; 17 DeserializerSystem deserializer;
15 18
16 String get name => 'Serialization'; 19 String get name => 'Serialization';
17 20
18 /// Returns the [LibraryElement] for [resolvedUri] if available from 21 /// Returns the [LibraryElement] for [resolvedUri] if available from
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 } 63 }
61 } 64 }
62 65
63 /// The interface for a system that supports deserialization of libraries and 66 /// The interface for a system that supports deserialization of libraries and
64 /// elements. 67 /// elements.
65 abstract class DeserializerSystem { 68 abstract class DeserializerSystem {
66 LibraryElement readLibrary(Uri resolvedUri); 69 LibraryElement readLibrary(Uri resolvedUri);
67 bool isDeserialized(Element element); 70 bool isDeserialized(Element element);
68 WorldImpact computeWorldImpact(Element element); 71 WorldImpact computeWorldImpact(Element element);
69 } 72 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/serialization/modelz.dart ('k') | pkg/compiler/lib/src/ssa/ssa.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698