| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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.enqueue; | 5 library dart2js.enqueue; |
| 6 | 6 |
| 7 import 'dart:collection' show | 7 import 'dart:collection' show |
| 8 Queue; | 8 Queue; |
| 9 | 9 |
| 10 import 'common.dart'; |
| 10 import 'common/names.dart' show | 11 import 'common/names.dart' show |
| 11 Identifiers; | 12 Identifiers; |
| 12 import 'common/resolution.dart' show | 13 import 'common/resolution.dart' show |
| 13 Resolution; | 14 Resolution; |
| 14 import 'common/work.dart' show | 15 import 'common/work.dart' show |
| 15 ItemCompilationContext, | 16 ItemCompilationContext, |
| 16 WorkItem; | 17 WorkItem; |
| 17 import 'common/tasks.dart' show | 18 import 'common/tasks.dart' show |
| 18 CompilerTask, | 19 CompilerTask, |
| 19 DeferredAction, | 20 DeferredAction, |
| 20 DeferredTask; | 21 DeferredTask; |
| 21 import 'common/codegen.dart' show | 22 import 'common/codegen.dart' show |
| 22 CodegenWorkItem; | 23 CodegenWorkItem; |
| 23 import 'common/resolution.dart' show | 24 import 'common/resolution.dart' show |
| 24 ResolutionWorkItem; | 25 ResolutionWorkItem; |
| 25 import 'compiler.dart' show | 26 import 'compiler.dart' show |
| 26 Compiler; | 27 Compiler; |
| 27 import 'dart_types.dart' show | 28 import 'dart_types.dart' show |
| 28 DartType, | 29 DartType, |
| 29 InterfaceType; | 30 InterfaceType; |
| 30 import 'diagnostics/diagnostic_listener.dart' show | |
| 31 DiagnosticReporter; | |
| 32 import 'diagnostics/invariant.dart' show | |
| 33 invariant; | |
| 34 import 'diagnostics/spannable.dart' show | |
| 35 SpannableAssertionFailure; | |
| 36 import 'elements/elements.dart' show | 31 import 'elements/elements.dart' show |
| 37 AnalyzableElement, | 32 AnalyzableElement, |
| 38 AstElement, | 33 AstElement, |
| 39 ClassElement, | 34 ClassElement, |
| 40 ConstructorElement, | 35 ConstructorElement, |
| 41 Element, | 36 Element, |
| 42 Elements, | 37 Elements, |
| 43 FunctionElement, | 38 FunctionElement, |
| 44 LibraryElement, | 39 LibraryElement, |
| 45 LocalFunctionElement, | 40 LocalFunctionElement, |
| 46 Member, | 41 Member, |
| 47 MemberElement, | 42 MemberElement, |
| 48 MethodElement, | 43 MethodElement, |
| 49 Name, | 44 Name, |
| 50 TypedElement, | 45 TypedElement, |
| 51 TypedefElement; | 46 TypedefElement; |
| 52 import 'js/js.dart' as js; | 47 import 'js/js.dart' as js; |
| 53 import 'native/native.dart' as native; | 48 import 'native/native.dart' as native; |
| 54 import 'resolution/members.dart' show | |
| 55 ResolverVisitor; | |
| 56 import 'tree/tree.dart' show | |
| 57 Send; | |
| 58 import 'types/types.dart' show | 49 import 'types/types.dart' show |
| 59 TypeMaskStrategy; | 50 TypeMaskStrategy; |
| 60 import 'universe/selector.dart' show | 51 import 'universe/selector.dart' show |
| 61 Selector; | 52 Selector; |
| 62 import 'universe/universe.dart'; | 53 import 'universe/universe.dart'; |
| 63 import 'util/util.dart' show | 54 import 'util/util.dart' show |
| 64 Link, | 55 Link, |
| 65 Setlet; | 56 Setlet; |
| 66 | 57 |
| 67 typedef ItemCompilationContext ItemCompilationContextCreator(); | 58 typedef ItemCompilationContext ItemCompilationContextCreator(); |
| (...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1092 @override | 1083 @override |
| 1093 void processStaticUse(Enqueuer enqueuer, Element element) { | 1084 void processStaticUse(Enqueuer enqueuer, Element element) { |
| 1094 enqueuer.registerStaticUseInternal(element); | 1085 enqueuer.registerStaticUseInternal(element); |
| 1095 } | 1086 } |
| 1096 | 1087 |
| 1097 @override | 1088 @override |
| 1098 void processSelector(Enqueuer enqueuer, UniverseSelector selector) { | 1089 void processSelector(Enqueuer enqueuer, UniverseSelector selector) { |
| 1099 enqueuer.handleUnseenSelectorInternal(selector); | 1090 enqueuer.handleUnseenSelectorInternal(selector); |
| 1100 } | 1091 } |
| 1101 } | 1092 } |
| OLD | NEW |