| 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' show ClosureDataLookup; | 5 import '../closure.dart' show ClosureDataLookup; |
| 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 '../deferred_load.dart'; | 10 import '../deferred_load.dart'; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 compiler.backendStrategy.closureDataLookup; | 76 compiler.backendStrategy.closureDataLookup; |
| 77 | 77 |
| 78 NativeData get nativeData => closedWorld.nativeData; | 78 NativeData get nativeData => closedWorld.nativeData; |
| 79 | 79 |
| 80 InterceptorData get interceptorData => closedWorld.interceptorData; | 80 InterceptorData get interceptorData => closedWorld.interceptorData; |
| 81 | 81 |
| 82 BackendUsage get backendUsage => closedWorld.backendUsage; | 82 BackendUsage get backendUsage => closedWorld.backendUsage; |
| 83 | 83 |
| 84 Namer get namer => backend.namer; | 84 Namer get namer => backend.namer; |
| 85 | 85 |
| 86 RuntimeTypesNeed get rtiNeed => backend.rtiNeed; | 86 RuntimeTypesNeed get rtiNeed => closedWorld.rtiNeed; |
| 87 | 87 |
| 88 JavaScriptConstantCompiler get constants => backend.constants; | 88 JavaScriptConstantCompiler get constants => backend.constants; |
| 89 | 89 |
| 90 ConstantSystem get constantSystem => constants.constantSystem; | 90 ConstantSystem get constantSystem => constants.constantSystem; |
| 91 | 91 |
| 92 RuntimeTypesEncoder get rtiEncoder => backend.rtiEncoder; | 92 RuntimeTypesEncoder get rtiEncoder => backend.rtiEncoder; |
| 93 | 93 |
| 94 FunctionInlineCache get inlineCache => backend.inlineCache; | 94 FunctionInlineCache get inlineCache => backend.inlineCache; |
| 95 | 95 |
| 96 MirrorsData get mirrorsData => backend.mirrorsData; | 96 MirrorsData get mirrorsData => backend.mirrorsData; |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 return mirrorsData.mustRetainMetadata; | 298 return mirrorsData.mustRetainMetadata; |
| 299 case 'USE_CONTENT_SECURITY_POLICY': | 299 case 'USE_CONTENT_SECURITY_POLICY': |
| 300 return options.useContentSecurityPolicy; | 300 return options.useContentSecurityPolicy; |
| 301 case 'IS_FULL_EMITTER': | 301 case 'IS_FULL_EMITTER': |
| 302 return !USE_LAZY_EMITTER && !options.useStartupEmitter; | 302 return !USE_LAZY_EMITTER && !options.useStartupEmitter; |
| 303 default: | 303 default: |
| 304 return null; | 304 return null; |
| 305 } | 305 } |
| 306 } | 306 } |
| 307 } | 307 } |
| OLD | NEW |