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

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

Issue 2862163003: Move resolution/operators.dart to elements/operators.dart (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
« no previous file with comments | « pkg/compiler/lib/src/inferrer/builder.dart ('k') | pkg/compiler/lib/src/kernel/error.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) 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/operators.dart';
15 import '../elements/types.dart'; 16 import '../elements/types.dart';
16 import '../js_backend/backend.dart' show JavaScriptBackend; 17 import '../js_backend/backend.dart' show JavaScriptBackend;
17 import '../native/native.dart' as native; 18 import '../native/native.dart' as native;
18 import '../resolution/operators.dart';
19 import '../universe/call_structure.dart'; 19 import '../universe/call_structure.dart';
20 import '../universe/selector.dart'; 20 import '../universe/selector.dart';
21 import 'kernel_debug.dart'; 21 import 'kernel_debug.dart';
22 22
23 /// Interface that translates between Kernel IR nodes and entities. 23 /// Interface that translates between Kernel IR nodes and entities.
24 abstract class KernelElementAdapter { 24 abstract class KernelElementAdapter {
25 /// Access to the commonly used elements and types. 25 /// Access to the commonly used elements and types.
26 CommonElements get commonElements; 26 CommonElements get commonElements;
27 27
28 /// [ElementEnvironment] for library, class and member lookup. 28 /// [ElementEnvironment] for library, class and member lookup.
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 } 779 }
780 if (isRedirecting) { 780 if (isRedirecting) {
781 return new RedirectingGenerativeConstantConstructor( 781 return new RedirectingGenerativeConstantConstructor(
782 defaultValues, superConstructorInvocation); 782 defaultValues, superConstructorInvocation);
783 } else { 783 } else {
784 return new GenerativeConstantConstructor( 784 return new GenerativeConstantConstructor(
785 type, defaultValues, fieldMap, superConstructorInvocation); 785 type, defaultValues, fieldMap, superConstructorInvocation);
786 } 786 }
787 } 787 }
788 } 788 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/inferrer/builder.dart ('k') | pkg/compiler/lib/src/kernel/error.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698