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

Unified Diff: runtime/vm/cha.h

Issue 1186113011: Some cleanup and be more conservative when guessing cids: use only current leaf classes; otherwise … (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: y Created 5 years, 6 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/cha.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/cha.h
diff --git a/runtime/vm/cha.h b/runtime/vm/cha.h
index 8860a8bbc8e666204f2e011e81b7b72e46c56840..b4007b2aa71b2ba44319d082eda5881f97b75f05 100644
--- a/runtime/vm/cha.h
+++ b/runtime/vm/cha.h
@@ -32,11 +32,11 @@ class CHA : public StackResource {
}
// Returns true if the class has subclasses.
- bool HasSubclasses(const Class& cls);
- bool HasSubclasses(intptr_t cid);
+ static bool HasSubclasses(const Class& cls);
+ bool HasSubclasses(intptr_t cid) const;
// Return true if the class is implemented by some other class.
- bool IsImplemented(const Class& cls);
+ static bool IsImplemented(const Class& cls);
// Returns true if any subclass of 'cls' contains the function.
bool HasOverride(const Class& cls, const String& function_name);
« no previous file with comments | « no previous file | runtime/vm/cha.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698