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

Side by Side Diff: pkg/compiler/lib/src/compile_time_constants.dart

Issue 2000663002: Handle resolvedAst for forwarding constructors and callType on unnamed mixin applications. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix test. Created 4 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/common/resolution.dart ('k') | pkg/compiler/lib/src/compiler.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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.compile_time_constant_evaluator; 5 library dart2js.compile_time_constant_evaluator;
6 6
7 import 'common.dart'; 7 import 'common.dart';
8 import 'common/resolution.dart' show Resolution; 8 import 'common/resolution.dart' show Resolution;
9 import 'common/tasks.dart' show CompilerTask; 9 import 'common/tasks.dart' show CompilerTask;
10 import 'compiler.dart' show Compiler; 10 import 'compiler.dart' show Compiler;
11 import 'constant_system_dart.dart'; 11 import 'constant_system_dart.dart';
12 import 'constants/constant_system.dart'; 12 import 'constants/constant_system.dart';
13 import 'constants/evaluation.dart'; 13 import 'constants/evaluation.dart';
14 import 'constants/expressions.dart'; 14 import 'constants/expressions.dart';
15 import 'constants/values.dart'; 15 import 'constants/values.dart';
16 import 'core_types.dart' show CoreTypes; 16 import 'core_types.dart' show CoreTypes;
17 import 'dart_types.dart'; 17 import 'dart_types.dart';
18 import 'elements/elements.dart'; 18 import 'elements/elements.dart';
19 import 'elements/modelx.dart' show FieldElementX, FunctionElementX, ConstantVari ableMixin; 19 import 'elements/modelx.dart'
20 show FieldElementX, FunctionElementX, ConstantVariableMixin;
20 import 'resolution/tree_elements.dart' show TreeElements; 21 import 'resolution/tree_elements.dart' show TreeElements;
21 import 'resolution/operators.dart'; 22 import 'resolution/operators.dart';
22 import 'tree/tree.dart'; 23 import 'tree/tree.dart';
23 import 'util/util.dart' show Link; 24 import 'util/util.dart' show Link;
24 import 'universe/call_structure.dart' show CallStructure; 25 import 'universe/call_structure.dart' show CallStructure;
25 26
26 /// A [ConstantEnvironment] provides access for constants compiled for variable 27 /// A [ConstantEnvironment] provides access for constants compiled for variable
27 /// initializers. 28 /// initializers.
28 abstract class ConstantEnvironment { 29 abstract class ConstantEnvironment {
29 /// The [ConstantSystem] used by this environment. 30 /// The [ConstantSystem] used by this environment.
(...skipping 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after
1350 class _CompilerEnvironment implements Environment { 1351 class _CompilerEnvironment implements Environment {
1351 final Compiler compiler; 1352 final Compiler compiler;
1352 1353
1353 _CompilerEnvironment(this.compiler); 1354 _CompilerEnvironment(this.compiler);
1354 1355
1355 @override 1356 @override
1356 String readFromEnvironment(String name) { 1357 String readFromEnvironment(String name) {
1357 return compiler.fromEnvironment(name); 1358 return compiler.fromEnvironment(name);
1358 } 1359 }
1359 } 1360 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/common/resolution.dart ('k') | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698