| 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 ClosureClassMaps; |
| 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/types.dart'; | 15 import '../elements/types.dart'; |
| 15 import '../js_backend/backend.dart'; | 16 import '../js_backend/backend.dart'; |
| 16 import '../js_backend/backend_usage.dart'; | 17 import '../js_backend/backend_usage.dart'; |
| 17 import '../js_backend/constant_handler_javascript.dart'; | 18 import '../js_backend/constant_handler_javascript.dart'; |
| 18 import '../js_backend/namer.dart'; | 19 import '../js_backend/namer.dart'; |
| 19 import '../js_backend/native_data.dart'; | 20 import '../js_backend/native_data.dart'; |
| 20 import '../js_backend/js_interop_analysis.dart'; | 21 import '../js_backend/js_interop_analysis.dart'; |
| 21 import '../js_backend/interceptor_data.dart'; | 22 import '../js_backend/interceptor_data.dart'; |
| 22 import '../js_backend/mirrors_data.dart'; | 23 import '../js_backend/mirrors_data.dart'; |
| 23 import '../js_backend/runtime_types.dart'; | 24 import '../js_backend/runtime_types.dart'; |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 return mirrorsData.mustRetainMetadata; | 297 return mirrorsData.mustRetainMetadata; |
| 297 case 'USE_CONTENT_SECURITY_POLICY': | 298 case 'USE_CONTENT_SECURITY_POLICY': |
| 298 return options.useContentSecurityPolicy; | 299 return options.useContentSecurityPolicy; |
| 299 case 'IS_FULL_EMITTER': | 300 case 'IS_FULL_EMITTER': |
| 300 return !USE_LAZY_EMITTER && !options.useStartupEmitter; | 301 return !USE_LAZY_EMITTER && !options.useStartupEmitter; |
| 301 default: | 302 default: |
| 302 return null; | 303 return null; |
| 303 } | 304 } |
| 304 } | 305 } |
| 305 } | 306 } |
| OLD | NEW |