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

Unified Diff: pkg/compiler/lib/src/common/backend_api.dart

Issue 2569733002: Even less reliance on Compiler.closedWorld (Closed)
Patch Set: Updated cf. comments. Created 4 years 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 | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common/backend_api.dart
diff --git a/pkg/compiler/lib/src/common/backend_api.dart b/pkg/compiler/lib/src/common/backend_api.dart
index 5fef0860c3967343258d18a2b009676a97cd094a..aef574dce26273a148fdfa7a645c28a1fbeac05f 100644
--- a/pkg/compiler/lib/src/common/backend_api.dart
+++ b/pkg/compiler/lib/src/common/backend_api.dart
@@ -33,7 +33,7 @@ import '../serialization/serialization.dart'
import '../tree/tree.dart' show Node;
import '../universe/world_impact.dart'
show ImpactStrategy, WorldImpact, WorldImpactBuilder;
-import '../world.dart' show ClosedWorldRefiner;
+import '../world.dart' show ClosedWorld, ClosedWorldRefiner;
import 'codegen.dart' show CodegenWorkItem;
import 'tasks.dart' show CompilerTask;
@@ -107,7 +107,8 @@ abstract class Backend extends Target {
List<CompilerTask> get tasks;
- void onResolutionComplete(ClosedWorldRefiner closedWorldRefiner) {}
+ void onResolutionComplete(
+ ClosedWorld closedWorld, ClosedWorldRefiner closedWorldRefiner) {}
void onTypeInferenceComplete() {}
bool classNeedsRti(ClassElement cls);
@@ -416,6 +417,9 @@ abstract class BackendClasses {
ClassElement get asyncStarStreamImplementation;
ClassElement get indexableImplementation;
ClassElement get mutableIndexableImplementation;
+ ClassElement get indexingBehaviorImplementation;
bool isDefaultEqualityImplementation(Element element);
+ bool isInterceptorClass(ClassElement cls);
+ bool isNative(Element element);
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698