Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: pkg/compiler/lib/src/ssa/graph_builder.dart

Issue 2930293002: Parameterize and move JumpTarget/LabelDefition to elements/jumps.dart (Closed)
Patch Set: Fix Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/compiler/lib/src/ssa/codegen.dart ('k') | pkg/compiler/lib/src/ssa/jump_handler.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/codegen.dart ('k') | pkg/compiler/lib/src/ssa/jump_handler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698