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

Unified Diff: pkg/compiler/lib/src/frontend_strategy.dart

Issue 2869403002: Move ElementEnvironment.isSubtype to DartTypes (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/common_elements.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/frontend_strategy.dart
diff --git a/pkg/compiler/lib/src/frontend_strategy.dart b/pkg/compiler/lib/src/frontend_strategy.dart
index 80f4bd22aac3fac7b10fa1b83004c0bbca664e56..a96ab6f5eba98ddc8b81b4a40b986ea9b3312161 100644
--- a/pkg/compiler/lib/src/frontend_strategy.dart
+++ b/pkg/compiler/lib/src/frontend_strategy.dart
@@ -9,6 +9,7 @@ import 'common_elements.dart';
import 'common/backend_api.dart';
import 'common/tasks.dart';
import 'elements/entities.dart';
+import 'elements/types.dart';
import 'environment.dart';
import 'enqueue.dart';
import 'js_backend/backend.dart';
@@ -46,6 +47,9 @@ abstract class FrontEndStrategy {
/// strategy.
ElementEnvironment get elementEnvironment;
+ /// Returns the [DartTypes] for the element model used in this strategy.
+ DartTypes get dartTypes;
+
/// Returns the [AnnotationProcessor] for this strategy.
AnnotationProcessor get annotationProcesser;
« no previous file with comments | « pkg/compiler/lib/src/common_elements.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698