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

Unified Diff: runtime/vm/class_table.h

Issue 10829446: Add HasSubclasses function to class hierarchy analysis. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 months 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 | runtime/vm/class_table.cc » ('j') | runtime/vm/class_table.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/class_table.h
===================================================================
--- runtime/vm/class_table.h (revision 11007)
+++ runtime/vm/class_table.h (working copy)
@@ -38,6 +38,10 @@
void Print();
+ // Returns true if the class given by its cid has subclasses.
+ // Must not be called for kDartObjectCid.
+ bool HasSubclasses(intptr_t cid) const;
+
// Returns an array containing the cids of the direct and indirect subclasses
// of the class given by its cid.
// Must not be called for kDartObjectCid.
« no previous file with comments | « no previous file | runtime/vm/class_table.cc » ('j') | runtime/vm/class_table.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698