Index: pkg/compiler/lib/src/world.dart |
diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart |
index cd5b021675ca244b9ced9837d065b7cb9a575ae3..68dbaf20702c9ef14143f02b34342690e19e1040 100644 |
--- a/pkg/compiler/lib/src/world.dart |
+++ b/pkg/compiler/lib/src/world.dart |
@@ -380,6 +380,11 @@ class World implements ClassWorld { |
bool get isClosed => compiler.phase > Compiler.PHASE_RESOLVING; |
// Used by selectors. |
+ bool isAssertMethod(Element element) { |
+ return compiler.backend.isAssertMethod(element); |
+ } |
+ |
+ // Used by selectors. |
bool isForeign(Element element) { |
return compiler.backend.isForeign(element); |
} |