| Index: sdk/lib/_internal/compiler/implementation/world.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/world.dart (revision 19670)
|
| +++ sdk/lib/_internal/compiler/implementation/world.dart (working copy)
|
| @@ -161,6 +161,16 @@
|
| return uses != null && !uses.isEmpty;
|
| }
|
|
|
| + bool hasAnySubclass(ClassElement cls) {
|
| + Set<ClassElement> classes = subclasses[cls];
|
| + return classes != null && !classes.isEmpty;
|
| + }
|
| +
|
| + bool hasAnySubtype(ClassElement cls) {
|
| + Set<ClassElement> classes = subtypes[cls];
|
| + return classes != null && !classes.isEmpty;
|
| + }
|
| +
|
| void registerRtiDependency(Element element, Element dependency) {
|
| // We're not dealing with typedef for now.
|
| if (!element.isClass() || !dependency.isClass()) return;
|
|
|