| 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 ClosureClassMaps; | 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'; |
| 11 import '../diagnostics/diagnostic_listener.dart'; | 11 import '../diagnostics/diagnostic_listener.dart'; |
| 12 import '../elements/elements.dart'; | 12 import '../elements/elements.dart'; |
| 13 import '../elements/entities.dart' show Entity, Local, MemberEntity; | 13 import '../elements/entities.dart' show Entity, Local, MemberEntity; |
| 14 import '../elements/jumps.dart'; | 14 import '../elements/jumps.dart'; |
| 15 import '../elements/types.dart'; | 15 import '../elements/types.dart'; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 CompilerOptions get options => compiler.options; | 66 CompilerOptions get options => compiler.options; |
| 67 | 67 |
| 68 CommonElements get commonElements => closedWorld.commonElements; | 68 CommonElements get commonElements => closedWorld.commonElements; |
| 69 | 69 |
| 70 CodeEmitterTask get emitter => backend.emitter; | 70 CodeEmitterTask get emitter => backend.emitter; |
| 71 | 71 |
| 72 GlobalTypeInferenceResults get globalInferenceResults => | 72 GlobalTypeInferenceResults get globalInferenceResults => |
| 73 compiler.globalInference.results; | 73 compiler.globalInference.results; |
| 74 | 74 |
| 75 ClosureClassMaps get closureToClassMapper => compiler.closureToClassMapper; | 75 ClosureDataLookup get closureDataLookup => compiler.closureDataLookup; |
| 76 | 76 |
| 77 NativeData get nativeData => closedWorld.nativeData; | 77 NativeData get nativeData => closedWorld.nativeData; |
| 78 | 78 |
| 79 InterceptorData get interceptorData => closedWorld.interceptorData; | 79 InterceptorData get interceptorData => closedWorld.interceptorData; |
| 80 | 80 |
| 81 BackendUsage get backendUsage => closedWorld.backendUsage; | 81 BackendUsage get backendUsage => closedWorld.backendUsage; |
| 82 | 82 |
| 83 Namer get namer => backend.namer; | 83 Namer get namer => backend.namer; |
| 84 | 84 |
| 85 RuntimeTypesNeed get rtiNeed => backend.rtiNeed; | 85 RuntimeTypesNeed get rtiNeed => backend.rtiNeed; |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 return mirrorsData.mustRetainMetadata; | 297 return mirrorsData.mustRetainMetadata; |
| 298 case 'USE_CONTENT_SECURITY_POLICY': | 298 case 'USE_CONTENT_SECURITY_POLICY': |
| 299 return options.useContentSecurityPolicy; | 299 return options.useContentSecurityPolicy; |
| 300 case 'IS_FULL_EMITTER': | 300 case 'IS_FULL_EMITTER': |
| 301 return !USE_LAZY_EMITTER && !options.useStartupEmitter; | 301 return !USE_LAZY_EMITTER && !options.useStartupEmitter; |
| 302 default: | 302 default: |
| 303 return null; | 303 return null; |
| 304 } | 304 } |
| 305 } | 305 } |
| 306 } | 306 } |
| OLD | NEW |