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

Unified Diff: runtime/vm/class_table.h

Issue 10825483: Add --use_cha (default true, switch to false if you use dynamic class loading). Use CHA to specify … (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/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/class_table.h
===================================================================
--- runtime/vm/class_table.h (revision 11101)
+++ runtime/vm/class_table.h (working copy)
@@ -29,6 +29,13 @@
return (index > 0) && (index < top_);
}
+ bool HasValidClassAt(intptr_t index) const {
+ ASSERT(IsValidIndex(index));
+ return table_[index] != NULL;
+ }
+
+ intptr_t NumCids() const { return top_; }
+
void Register(const Class& cls);
void VisitObjectPointers(ObjectPointerVisitor* visitor);
« no previous file with comments | « no previous file | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698