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

Side by Side Diff: pkg/compiler/lib/src/kernel/ir_element_map.dart

Issue 2860753005: Make elements/names.dart its own library (Closed)
Patch Set: Created 3 years, 7 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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 '../constants/constructors.dart'; 9 import '../constants/constructors.dart';
10 import '../constants/expressions.dart'; 10 import '../constants/expressions.dart';
11 import '../constants/values.dart'; 11 import '../constants/values.dart';
12 import '../common_elements.dart'; 12 import '../common_elements.dart';
13 import '../elements/elements.dart'; 13 import '../elements/elements.dart';
14 import '../elements/entities.dart'; 14 import '../elements/entities.dart';
15 import '../elements/names.dart';
15 import '../elements/operators.dart'; 16 import '../elements/operators.dart';
16 import '../elements/types.dart'; 17 import '../elements/types.dart';
17 import '../js_backend/backend.dart' show JavaScriptBackend; 18 import '../js_backend/backend.dart' show JavaScriptBackend;
18 import '../native/native.dart' as native; 19 import '../native/native.dart' as native;
19 import '../universe/call_structure.dart'; 20 import '../universe/call_structure.dart';
20 import '../universe/selector.dart'; 21 import '../universe/selector.dart';
21 import 'kernel_debug.dart'; 22 import 'kernel_debug.dart';
22 23
23 /// Interface that translates between Kernel IR nodes and entities. 24 /// Interface that translates between Kernel IR nodes and entities.
24 abstract class IrToElementMap { 25 abstract class IrToElementMap {
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 } 780 }
780 if (isRedirecting) { 781 if (isRedirecting) {
781 return new RedirectingGenerativeConstantConstructor( 782 return new RedirectingGenerativeConstantConstructor(
782 defaultValues, superConstructorInvocation); 783 defaultValues, superConstructorInvocation);
783 } else { 784 } else {
784 return new GenerativeConstantConstructor( 785 return new GenerativeConstantConstructor(
785 type, defaultValues, fieldMap, superConstructorInvocation); 786 type, defaultValues, fieldMap, superConstructorInvocation);
786 } 787 }
787 } 788 }
788 } 789 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/kernel/elements.dart ('k') | pkg/compiler/lib/src/kernel/kernel_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698