Chromium Code Reviews| 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); |