| 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 '../deferred_load.dart'; | 10 import '../deferred_load.dart'; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 CommonElements get commonElements => closedWorld.commonElements; | 65 CommonElements get commonElements => closedWorld.commonElements; |
| 66 | 66 |
| 67 CodeEmitterTask get emitter => backend.emitter; | 67 CodeEmitterTask get emitter => backend.emitter; |
| 68 | 68 |
| 69 GlobalTypeInferenceResults get globalInferenceResults => | 69 GlobalTypeInferenceResults get globalInferenceResults => |
| 70 compiler.globalInference.results; | 70 compiler.globalInference.results; |
| 71 | 71 |
| 72 ClosureTask get closureToClassMapper => compiler.closureToClassMapper; | 72 ClosureTask get closureToClassMapper => compiler.closureToClassMapper; |
| 73 | 73 |
| 74 NativeData get nativeData => backend.nativeData; | 74 NativeData get nativeData => closedWorld.nativeData; |
| 75 | 75 |
| 76 InterceptorData get interceptorData => backend.interceptorData; | 76 InterceptorData get interceptorData => backend.interceptorData; |
| 77 | 77 |
| 78 BackendUsage get backendUsage => backend.backendUsage; | 78 BackendUsage get backendUsage => backend.backendUsage; |
| 79 | 79 |
| 80 Namer get namer => backend.namer; | 80 Namer get namer => backend.namer; |
| 81 | 81 |
| 82 RuntimeTypesNeed get rtiNeed => backend.rtiNeed; | 82 RuntimeTypesNeed get rtiNeed => backend.rtiNeed; |
| 83 | 83 |
| 84 JavaScriptConstantCompiler get constants => backend.constants; | 84 JavaScriptConstantCompiler get constants => backend.constants; |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 return mirrorsData.mustRetainMetadata; | 295 return mirrorsData.mustRetainMetadata; |
| 296 case 'USE_CONTENT_SECURITY_POLICY': | 296 case 'USE_CONTENT_SECURITY_POLICY': |
| 297 return options.useContentSecurityPolicy; | 297 return options.useContentSecurityPolicy; |
| 298 case 'IS_FULL_EMITTER': | 298 case 'IS_FULL_EMITTER': |
| 299 return !USE_LAZY_EMITTER && !options.useStartupEmitter; | 299 return !USE_LAZY_EMITTER && !options.useStartupEmitter; |
| 300 default: | 300 default: |
| 301 return null; | 301 return null; |
| 302 } | 302 } |
| 303 } | 303 } |
| 304 } | 304 } |
| OLD | NEW |