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

Unified Diff: runtime/vm/class_table.h

Issue 10827450: Move class hierarchy analysis to its own source. (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
Index: runtime/vm/class_table.h
===================================================================
--- runtime/vm/class_table.h (revision 11078)
+++ runtime/vm/class_table.h (working copy)
@@ -12,11 +12,8 @@
namespace dart {
class Class;
-class Function;
-template <typename T> class ZoneGrowableArray;
class ObjectPointerVisitor;
class RawClass;
-class String;
class ClassTable {
public:
@@ -38,26 +35,6 @@
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.
- ZoneGrowableArray<intptr_t>* GetSubclassIdsOf(intptr_t cid) const;
-
- // Returns an array containing instance functions of the given name and
- // belonging to the classes given by their cids.
- // Cids must not contain kDartObjectCid.
- ZoneGrowableArray<Function*>* GetNamedInstanceFunctionsOf(
- const ZoneGrowableArray<intptr_t>& cids,
- const String& function_name) const;
-
- // Returns an array of functions overriding the given function.
- // Must not be called for a function of class Object.
- ZoneGrowableArray<Function*>* GetOverridesOf(const Function& function) const;
-
static intptr_t table_offset() {
return OFFSET_OF(ClassTable, table_);
}
« runtime/vm/cha.h ('K') | « runtime/vm/cha_test.cc ('k') | runtime/vm/class_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698