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

Side by Side Diff: pkg/compiler/lib/src/deferred_load.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
« no previous file with comments | « pkg/compiler/lib/src/dart_backend/dart_backend.dart ('k') | pkg/compiler/lib/src/enqueue.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 deferred_load; 5 library deferred_load;
6 6
7 import 'common.dart'; 7 import 'common.dart';
8 import 'common/backend_api.dart' show 8 import 'common/backend_api.dart' show
9 Backend; 9 Backend;
10 import 'common/tasks.dart' show 10 import 'common/tasks.dart' show
(...skipping 14 matching lines...) Expand all
25 ElementKind, 25 ElementKind,
26 Elements, 26 Elements,
27 ExportElement, 27 ExportElement,
28 FunctionElement, 28 FunctionElement,
29 ImportElement, 29 ImportElement,
30 LibraryElement, 30 LibraryElement,
31 MetadataAnnotation, 31 MetadataAnnotation,
32 PrefixElement, 32 PrefixElement,
33 ScopeContainerElement, 33 ScopeContainerElement,
34 TypedefElement; 34 TypedefElement;
35 import 'enqueue.dart' show
36 WorldImpact;
37 import 'js_backend/js_backend.dart' show 35 import 'js_backend/js_backend.dart' show
38 JavaScriptBackend; 36 JavaScriptBackend;
39 import 'resolution/resolution.dart' show 37 import 'resolution/resolution.dart' show
40 AnalyzableElementX; 38 AnalyzableElementX;
41 import 'resolution/tree_elements.dart' show 39 import 'resolution/tree_elements.dart' show
42 TreeElements; 40 TreeElements;
43 import 'tree/tree.dart' as ast; 41 import 'tree/tree.dart' as ast;
44 import 'tree/tree.dart' show 42 import 'tree/tree.dart' show
45 Import, 43 Import,
46 LibraryTag, 44 LibraryTag,
47 LibraryDependency, 45 LibraryDependency,
48 LiteralDartString, 46 LiteralDartString,
49 LiteralString, 47 LiteralString,
50 NewExpression, 48 NewExpression,
51 Node; 49 Node;
50 import 'universe/world_impact.dart' show
51 WorldImpact;
52 import 'util/setlet.dart' show 52 import 'util/setlet.dart' show
53 Setlet; 53 Setlet;
54 import 'util/uri_extras.dart' as uri_extras; 54 import 'util/uri_extras.dart' as uri_extras;
55 import 'util/util.dart' show 55 import 'util/util.dart' show
56 Link, makeUnique; 56 Link, makeUnique;
57 57
58 /// A "hunk" of the program that will be loaded whenever one of its [imports] 58 /// A "hunk" of the program that will be loaded whenever one of its [imports]
59 /// are loaded. 59 /// are loaded.
60 /// 60 ///
61 /// Elements that are only used in one deferred import, is in an OutputUnit with 61 /// Elements that are only used in one deferred import, is in an OutputUnit with
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 return result; 980 return result;
981 } 981 }
982 982
983 bool operator ==(other) { 983 bool operator ==(other) {
984 if (other is! _DeclaredDeferredImport) return false; 984 if (other is! _DeclaredDeferredImport) return false;
985 return declaration == other.declaration; 985 return declaration == other.declaration;
986 } 986 }
987 987
988 int get hashCode => declaration.hashCode * 17; 988 int get hashCode => declaration.hashCode * 17;
989 } 989 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/dart_backend/dart_backend.dart ('k') | pkg/compiler/lib/src/enqueue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698