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

Side by Side Diff: pkg/compiler/lib/src/resolution/registry.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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 library dart2js.resolution.registry; 5 library dart2js.resolution.registry;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 import '../common/backend_api.dart' show ForeignResolver, NativeRegistry; 8 import '../common/backend_api.dart' show ForeignResolver, NativeRegistry;
9 import '../common/resolution.dart' show ResolutionImpact, Target; 9 import '../common/resolution.dart' show ResolutionImpact, Target;
10 import '../constants/expressions.dart'; 10 import '../constants/expressions.dart';
11 import '../elements/resolution_types.dart'; 11 import '../elements/resolution_types.dart';
12 import '../diagnostics/source_span.dart'; 12 import '../diagnostics/source_span.dart';
13 import '../elements/elements.dart'; 13 import '../elements/elements.dart';
14 import '../elements/jumps.dart';
14 import '../tree/tree.dart'; 15 import '../tree/tree.dart';
15 import '../universe/call_structure.dart' show CallStructure; 16 import '../universe/call_structure.dart' show CallStructure;
16 import '../universe/feature.dart'; 17 import '../universe/feature.dart';
17 import '../universe/selector.dart' show Selector; 18 import '../universe/selector.dart' show Selector;
18 import '../universe/use.dart' show DynamicUse, StaticUse, TypeUse; 19 import '../universe/use.dart' show DynamicUse, StaticUse, TypeUse;
19 import '../universe/world_impact.dart' show WorldImpact, WorldImpactBuilderImpl; 20 import '../universe/world_impact.dart' show WorldImpact, WorldImpactBuilderImpl;
20 import '../util/enumset.dart' show EnumSet; 21 import '../util/enumset.dart' show EnumSet;
21 import '../util/util.dart' show Setlet; 22 import '../util/util.dart' show Setlet;
22 import 'members.dart' show ResolverVisitor; 23 import 'members.dart' show ResolverVisitor;
23 import 'send_structure.dart'; 24 import 'send_structure.dart';
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 @override 438 @override
438 void registerInstantiatedType(ResolutionInterfaceType type) { 439 void registerInstantiatedType(ResolutionInterfaceType type) {
439 registry.registerInstantiation(type); 440 registry.registerInstantiation(type);
440 } 441 }
441 442
442 @override 443 @override
443 ResolutionDartType resolveTypeFromString(Node node, String typeName) { 444 ResolutionDartType resolveTypeFromString(Node node, String typeName) {
444 return visitor.resolveTypeFromString(node, typeName); 445 return visitor.resolveTypeFromString(node, typeName);
445 } 446 }
446 } 447 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/resolution/tree_elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698