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

Unified Diff: vm/cha.h

Issue 10873004: Use kInstanceCid instead of object_store()->object_class() when checking to see if the class is obj… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
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 | vm/cha.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/cha.h
===================================================================
--- vm/cha.h (revision 11121)
+++ vm/cha.h (working copy)
@@ -20,12 +20,12 @@
// 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.
+ // Must not be called for kInstanceCid.
static ZoneGrowableArray<intptr_t>* GetSubclassIdsOf(intptr_t cid);
// Returns an array containing instance functions of the given name and
// belonging to the classes given by their cids.
- // Cids must not contain kDartObjectCid.
+ // Cids must not contain kInstanceCid.
static ZoneGrowableArray<Function*>* GetNamedInstanceFunctionsOf(
const ZoneGrowableArray<intptr_t>& cids,
const String& function_name);
« no previous file with comments | « no previous file | vm/cha.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698