| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 '../closure.dart'; | 5 import '../closure.dart'; |
| 6 import '../constants/constant_system.dart'; | 6 import '../constants/constant_system.dart'; |
| 7 import '../common/codegen.dart' show CodegenRegistry; | 7 import '../common/codegen.dart' show CodegenRegistry; |
| 8 import '../common_elements.dart'; | 8 import '../common_elements.dart'; |
| 9 import '../compiler.dart'; | 9 import '../compiler.dart'; |
| 10 import '../diagnostics/diagnostic_listener.dart'; | 10 import '../diagnostics/diagnostic_listener.dart'; |
| 11 import '../elements/elements.dart'; | 11 import '../elements/elements.dart'; |
| 12 import '../elements/entities.dart' show Entity, Local; | 12 import '../elements/entities.dart' show Entity, Local; |
| 13 import '../elements/resolution_types.dart'; | 13 import '../elements/resolution_types.dart'; |
| 14 import '../js_backend/backend_helpers.dart'; | |
| 15 import '../js_backend/backend_usage.dart'; | 14 import '../js_backend/backend_usage.dart'; |
| 16 import '../js_backend/constant_handler_javascript.dart'; | 15 import '../js_backend/constant_handler_javascript.dart'; |
| 17 import '../js_backend/js_backend.dart'; | 16 import '../js_backend/js_backend.dart'; |
| 18 import '../js_backend/native_data.dart'; | 17 import '../js_backend/native_data.dart'; |
| 19 import '../js_backend/js_interop_analysis.dart'; | 18 import '../js_backend/js_interop_analysis.dart'; |
| 20 import '../js_backend/interceptor_data.dart'; | 19 import '../js_backend/interceptor_data.dart'; |
| 21 import '../js_backend/mirrors_data.dart'; | 20 import '../js_backend/mirrors_data.dart'; |
| 22 import '../js_emitter/code_emitter_task.dart'; | 21 import '../js_emitter/code_emitter_task.dart'; |
| 23 import '../options.dart'; | 22 import '../options.dart'; |
| 24 import '../resolution/tree_elements.dart'; | 23 import '../resolution/tree_elements.dart'; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 BackendUsage get backendUsage => backend.backendUsage; | 77 BackendUsage get backendUsage => backend.backendUsage; |
| 79 | 78 |
| 80 Namer get namer => backend.namer; | 79 Namer get namer => backend.namer; |
| 81 | 80 |
| 82 RuntimeTypesNeed get rtiNeed => backend.rtiNeed; | 81 RuntimeTypesNeed get rtiNeed => backend.rtiNeed; |
| 83 | 82 |
| 84 JavaScriptConstantCompiler get constants => backend.constants; | 83 JavaScriptConstantCompiler get constants => backend.constants; |
| 85 | 84 |
| 86 ConstantSystem get constantSystem => constants.constantSystem; | 85 ConstantSystem get constantSystem => constants.constantSystem; |
| 87 | 86 |
| 88 BackendHelpers get helpers => backend.helpers; | |
| 89 | |
| 90 RuntimeTypesEncoder get rtiEncoder => backend.rtiEncoder; | 87 RuntimeTypesEncoder get rtiEncoder => backend.rtiEncoder; |
| 91 | 88 |
| 92 FunctionInlineCache get inlineCache => backend.inlineCache; | 89 FunctionInlineCache get inlineCache => backend.inlineCache; |
| 93 | 90 |
| 94 MirrorsData get mirrorsData => backend.mirrorsData; | 91 MirrorsData get mirrorsData => backend.mirrorsData; |
| 95 | 92 |
| 96 JsInteropAnalysis get jsInteropAnalysis => backend.jsInteropAnalysis; | 93 JsInteropAnalysis get jsInteropAnalysis => backend.jsInteropAnalysis; |
| 97 | 94 |
| 98 /// Used to track the locals while building the graph. | 95 /// Used to track the locals while building the graph. |
| 99 LocalsHandler localsHandler; | 96 LocalsHandler localsHandler; |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 open(newBlock); | 270 open(newBlock); |
| 274 } | 271 } |
| 275 | 272 |
| 276 HInstruction callSetRuntimeTypeInfo( | 273 HInstruction callSetRuntimeTypeInfo( |
| 277 HInstruction typeInfo, HInstruction newObject); | 274 HInstruction typeInfo, HInstruction newObject); |
| 278 | 275 |
| 279 /// The element for which this SSA builder is being used. | 276 /// The element for which this SSA builder is being used. |
| 280 Element get targetElement; | 277 Element get targetElement; |
| 281 TypeBuilder get typeBuilder; | 278 TypeBuilder get typeBuilder; |
| 282 } | 279 } |
| OLD | NEW |