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); |
} |