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

Unified Diff: pkg/compiler/lib/src/constants/evaluation.dart

Issue 2684783003: Refactor ConstantSystem (Closed)
Patch Set: Rebased Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/constants/evaluation.dart
diff --git a/pkg/compiler/lib/src/constants/evaluation.dart b/pkg/compiler/lib/src/constants/evaluation.dart
index 3856e521ebfccb7145ac10e0929b92d7be923097..8fefead9b5312acec86fc5d60051b4fc1f7c54bc 100644
--- a/pkg/compiler/lib/src/constants/evaluation.dart
+++ b/pkg/compiler/lib/src/constants/evaluation.dart
@@ -4,10 +4,9 @@
library dart2js.constants.evaluation;
-import '../compiler.dart' show Compiler;
-import '../elements/elements.dart';
+import '../common/backend_api.dart' show BackendClasses;
+import '../core_types.dart' show CommonElements;
import '../elements/entities.dart';
-import '../elements/resolution_types.dart';
import '../elements/types.dart';
import '../universe/call_structure.dart' show CallStructure;
import 'constructors.dart';
@@ -17,7 +16,9 @@ import 'expressions.dart';
abstract class Environment {
// TODO(johnniwinther): Replace this with [CommonElements] and maybe
// [Backend].
- Compiler get compiler;
+ CommonElements get commonElements;
+
+ BackendClasses get backendClasses;
/// Read environments string passed in using the '-Dname=value' option.
String readFromEnvironment(String name);

Powered by Google App Engine
This is Rietveld 408576698