| OLD | NEW |
| 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 import 'dart:collection' show Queue; | 5 import 'dart:collection' show Queue; |
| 6 | 6 |
| 7 import '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../common/backend_api.dart' show ForeignResolver; | 8 import '../common/backend_api.dart' show ForeignResolver; |
| 9 import '../common/resolution.dart' show Resolution; | 9 import '../common/resolution.dart' show Resolution; |
| 10 import '../compiler.dart' show Compiler; | 10 import '../compiler.dart' show Compiler; |
| 11 import '../constants/values.dart'; | 11 import '../constants/values.dart'; |
| 12 import '../core_types.dart' show CommonElements; | 12 import '../core_types.dart' show CommonElements; |
| 13 import '../dart_types.dart'; | 13 import '../elements/resolution_types.dart'; |
| 14 import '../elements/elements.dart'; | 14 import '../elements/elements.dart'; |
| 15 import '../elements/modelx.dart' show FunctionElementX; | 15 import '../elements/modelx.dart' show FunctionElementX; |
| 16 import '../js_backend/backend_helpers.dart' show BackendHelpers; | 16 import '../js_backend/backend_helpers.dart' show BackendHelpers; |
| 17 import '../js_backend/js_backend.dart'; | 17 import '../js_backend/js_backend.dart'; |
| 18 import '../js_emitter/js_emitter.dart' show CodeEmitterTask, NativeEmitter; | 18 import '../js_emitter/js_emitter.dart' show CodeEmitterTask, NativeEmitter; |
| 19 import '../tokens/token.dart' show BeginGroupToken, Token; | 19 import '../tokens/token.dart' show BeginGroupToken, Token; |
| 20 import '../tokens/token_constants.dart' as Tokens show EOF_TOKEN; | 20 import '../tokens/token_constants.dart' as Tokens show EOF_TOKEN; |
| 21 import '../tree/tree.dart'; | 21 import '../tree/tree.dart'; |
| 22 import '../universe/use.dart' show StaticUse, TypeUse; | 22 import '../universe/use.dart' show StaticUse, TypeUse; |
| 23 import '../universe/world_impact.dart' | 23 import '../universe/world_impact.dart' |
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 662 List<Element> directSubtypes = | 662 List<Element> directSubtypes = |
| 663 emitter.directSubtypes.putIfAbsent(superclass, () => <ClassElement>[]); | 663 emitter.directSubtypes.putIfAbsent(superclass, () => <ClassElement>[]); |
| 664 directSubtypes.add(cls); | 664 directSubtypes.add(cls); |
| 665 } | 665 } |
| 666 | 666 |
| 667 void logSummary(log(message)) { | 667 void logSummary(log(message)) { |
| 668 log('Compiled ${_registeredClasses.length} native classes, ' | 668 log('Compiled ${_registeredClasses.length} native classes, ' |
| 669 '${_unusedClasses.length} native classes omitted.'); | 669 '${_unusedClasses.length} native classes omitted.'); |
| 670 } | 670 } |
| 671 } | 671 } |
| OLD | NEW |