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

Unified Diff: runtime/vm/heap.h

Issue 1090053003: - Avoid inconsistency of for example IterateObjects vs VisitObjects. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 8 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 | « runtime/vm/gc_marker.cc ('k') | runtime/vm/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.h
===================================================================
--- runtime/vm/heap.h (revision 45220)
+++ runtime/vm/heap.h (working copy)
@@ -105,19 +105,11 @@
bool StubCodeContains(uword addr) const;
// Visit all pointers.
- void IteratePointers(ObjectPointerVisitor* visitor) const;
+ void VisitObjectPointers(ObjectPointerVisitor* visitor) const;
- // Visit all pointers in the space.
- void IterateNewPointers(ObjectPointerVisitor* visitor) const;
- void IterateOldPointers(ObjectPointerVisitor* visitor) const;
-
// Visit all objects.
- void IterateObjects(ObjectVisitor* visitor) const;
+ void VisitObjects(ObjectVisitor* visitor) const;
- // Visit all object in the space.
- void IterateNewObjects(ObjectVisitor* visitor) const;
- void IterateOldObjects(ObjectVisitor* visitor) const;
-
// Find an object by visiting all pointers in the specified heap space,
// the 'visitor' is used to determine if an object is found or not.
// The 'visitor' function should be set up to return true if the
« no previous file with comments | « runtime/vm/gc_marker.cc ('k') | runtime/vm/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698