| 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 Queue; | 7 import 'dart:collection' show Queue; |
| 8 | 8 |
| 9 import 'cache_strategy.dart'; | 9 import 'cache_strategy.dart'; |
| 10 import 'common/backend_api.dart' show Backend; | 10 import 'common/backend_api.dart' show Backend; |
| 11 import 'common/names.dart' show Identifiers; | 11 import 'common/names.dart' show Identifiers; |
| 12 import 'common/resolution.dart' show Resolution, ResolutionWorkItem; | 12 import 'common/resolution.dart' show Resolution, ResolutionWorkItem; |
| 13 import 'common/registry.dart' show Registry; | |
| 14 import 'common/tasks.dart' show CompilerTask; | 13 import 'common/tasks.dart' show CompilerTask; |
| 15 import 'common/work.dart' show WorkItem; | 14 import 'common/work.dart' show WorkItem; |
| 16 import 'common.dart'; | 15 import 'common.dart'; |
| 17 import 'compiler.dart' show Compiler, GlobalDependencyRegistry; | 16 import 'compiler.dart' show Compiler, GlobalDependencyRegistry; |
| 18 import 'core_types.dart' show CommonElements; | 17 import 'core_types.dart' show CommonElements; |
| 19 import 'options.dart'; | 18 import 'options.dart'; |
| 20 import 'dart_types.dart' show DartType, InterfaceType; | 19 import 'dart_types.dart' show DartType, InterfaceType; |
| 21 import 'elements/elements.dart' | 20 import 'elements/elements.dart' |
| 22 show | 21 show |
| 23 AnalyzableElement, | 22 AnalyzableElement, |
| (...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 } | 763 } |
| 765 | 764 |
| 766 typedef void _DeferredActionFunction(); | 765 typedef void _DeferredActionFunction(); |
| 767 | 766 |
| 768 class _DeferredAction { | 767 class _DeferredAction { |
| 769 final Element element; | 768 final Element element; |
| 770 final _DeferredActionFunction action; | 769 final _DeferredActionFunction action; |
| 771 | 770 |
| 772 _DeferredAction(this.element, this.action); | 771 _DeferredAction(this.element, this.action); |
| 773 } | 772 } |
| OLD | NEW |