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 '../common.dart'; | |
6 import '../common/backend_api.dart'; | 5 import '../common/backend_api.dart'; |
7 import '../common_elements.dart' show CommonElements, ElementEnvironment; | 6 import '../common_elements.dart' show CommonElements, ElementEnvironment; |
8 import '../elements/elements.dart'; | 7 import '../elements/elements.dart'; |
9 import '../elements/entities.dart'; | 8 import '../elements/entities.dart'; |
10 import '../elements/resolution_types.dart'; | 9 import '../elements/resolution_types.dart'; |
11 import '../elements/types.dart'; | 10 import '../elements/types.dart'; |
12 import '../js_backend/backend_helpers.dart' show BackendHelpers; | 11 import '../js_backend/backend_helpers.dart' show BackendHelpers; |
13 import '../js_backend/backend_usage.dart' show BackendUsageBuilder; | 12 import '../js_backend/backend_usage.dart' show BackendUsageBuilder; |
14 import '../js_backend/native_data.dart' show NativeData; | 13 import '../js_backend/native_data.dart' show NativeData; |
15 import '../js_emitter/js_emitter.dart' show CodeEmitterTask, NativeEmitter; | 14 import '../js_emitter/js_emitter.dart' show CodeEmitterTask, NativeEmitter; |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 emitter.directSubtypes.putIfAbsent(superclass, () => <ClassEntity>[]); | 311 emitter.directSubtypes.putIfAbsent(superclass, () => <ClassEntity>[]); |
313 directSubtypes.add(cls); | 312 directSubtypes.add(cls); |
314 } | 313 } |
315 | 314 |
316 void logSummary(void log(String message)) { | 315 void logSummary(void log(String message)) { |
317 super.logSummary(log); | 316 super.logSummary(log); |
318 log('Compiled ${_registeredClasses.length} native classes, ' | 317 log('Compiled ${_registeredClasses.length} native classes, ' |
319 '${_unusedClasses.length} native classes omitted.'); | 318 '${_unusedClasses.length} native classes omitted.'); |
320 } | 319 } |
321 } | 320 } |
OLD | NEW |