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

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

Issue 2606253002: Move dart_types to elements/resolution_types (Closed)
Patch Set: Created 3 years, 11 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) 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 'package:kernel/ast.dart' as ir; 5 import 'package:kernel/ast.dart' as ir;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 import '../common/names.dart'; 8 import '../common/names.dart';
9 import '../compiler.dart'; 9 import '../compiler.dart';
10 import '../constants/expressions.dart'; 10 import '../constants/expressions.dart';
11 import '../dart_types.dart'; 11 import '../elements/resolution_types.dart';
12 import '../elements/elements.dart'; 12 import '../elements/elements.dart';
13 import '../js_backend/backend.dart' show JavaScriptBackend; 13 import '../js_backend/backend.dart' show JavaScriptBackend;
14 import '../kernel/kernel.dart'; 14 import '../kernel/kernel.dart';
15 import '../kernel/kernel_debug.dart'; 15 import '../kernel/kernel_debug.dart';
16 import '../kernel/kernel_visitor.dart'; 16 import '../kernel/kernel_visitor.dart';
17 import '../resolution/registry.dart' show ResolutionWorldImpactBuilder; 17 import '../resolution/registry.dart' show ResolutionWorldImpactBuilder;
18 import '../universe/call_structure.dart'; 18 import '../universe/call_structure.dart';
19 import '../universe/feature.dart'; 19 import '../universe/feature.dart';
20 import '../universe/selector.dart'; 20 import '../universe/selector.dart';
21 import '../universe/use.dart'; 21 import '../universe/use.dart';
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 Element target = astAdapter.getElement(node.target).declaration; 567 Element target = astAdapter.getElement(node.target).declaration;
568 impactBuilder.registerStaticUse(new StaticUse.superConstructorInvoke( 568 impactBuilder.registerStaticUse(new StaticUse.superConstructorInvoke(
569 target, astAdapter.getCallStructure(node.arguments))); 569 target, astAdapter.getCallStructure(node.arguments)));
570 } 570 }
571 571
572 // TODO(johnniwinther): Make this throw and visit child nodes explicitly 572 // TODO(johnniwinther): Make this throw and visit child nodes explicitly
573 // instead to ensure that we don't visit unwanted parts of the ir. 573 // instead to ensure that we don't visit unwanted parts of the ir.
574 @override 574 @override
575 void defaultNode(ir.Node node) => node.visitChildren(this); 575 void defaultNode(ir.Node node) => node.visitChildren(this);
576 } 576 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart ('k') | pkg/compiler/lib/src/ssa/locals_handler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698