Index: runtime/vm/cha.h |
diff --git a/runtime/vm/cha.h b/runtime/vm/cha.h |
index fac6577bc26c9981178944a628ab0217ebbdaca9..a1ea229a2c3816122f2e49440e8e7fefb9fa9701 100644 |
--- a/runtime/vm/cha.h |
+++ b/runtime/vm/cha.h |
@@ -35,6 +35,11 @@ class CHA : public StackResource { |
static bool HasSubclasses(const Class& cls); |
bool HasSubclasses(intptr_t cid) const; |
+ // Collect the concrete subclasses of 'cls' into 'class_ids'. Return true if |
+ // the result is valid (may be invalid because we don't track the subclasses |
+ // of classes allocated in the VM isolate or class Object). |
+ bool ConcreteSubclasses(const Class& cls, GrowableArray<intptr_t> *class_ids); |
+ |
// Return true if the class is implemented by some other class. |
static bool IsImplemented(const Class& cls); |