| 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 js_backend.backend; | 5 library js_backend.backend; |
| 6 | 6 |
| 7 import 'dart:async' show Future; | 7 import 'dart:async' show Future; |
| 8 | 8 |
| 9 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; | 9 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; |
| 10 | 10 |
| (...skipping 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1187 helpers, | 1187 helpers, |
| 1188 impacts, | 1188 impacts, |
| 1189 checkedModeHelpers, | 1189 checkedModeHelpers, |
| 1190 nativeData, | 1190 nativeData, |
| 1191 rtiNeed, | 1191 rtiNeed, |
| 1192 nativeCodegenEnqueuer, | 1192 nativeCodegenEnqueuer, |
| 1193 namer, | 1193 namer, |
| 1194 mirrorsData, | 1194 mirrorsData, |
| 1195 oneShotInterceptorData, | 1195 oneShotInterceptorData, |
| 1196 lookupMapAnalysis, | 1196 lookupMapAnalysis, |
| 1197 customElementsCodegenAnalysis, | |
| 1198 rtiChecksBuilder); | 1197 rtiChecksBuilder); |
| 1199 return const WorldImpact(); | 1198 return const WorldImpact(); |
| 1200 } | 1199 } |
| 1201 | 1200 |
| 1202 /// Called when code generation has been completed. | 1201 /// Called when code generation has been completed. |
| 1203 void onCodegenEnd() { | 1202 void onCodegenEnd() { |
| 1204 sourceInformationStrategy.onComplete(); | 1203 sourceInformationStrategy.onComplete(); |
| 1205 tracer.close(); | 1204 tracer.close(); |
| 1206 } | 1205 } |
| 1207 | 1206 |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1585 return _backend.defaultSuperclass(element); | 1584 return _backend.defaultSuperclass(element); |
| 1586 } | 1585 } |
| 1587 | 1586 |
| 1588 @override | 1587 @override |
| 1589 bool isNativeClass(ClassEntity element) => | 1588 bool isNativeClass(ClassEntity element) => |
| 1590 _backend.nativeClassData.isNativeClass(element); | 1589 _backend.nativeClassData.isNativeClass(element); |
| 1591 | 1590 |
| 1592 @override | 1591 @override |
| 1593 bool isForeign(Element element) => _backend.isForeign(element); | 1592 bool isForeign(Element element) => _backend.isForeign(element); |
| 1594 } | 1593 } |
| OLD | NEW |