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

Unified Diff: vm/visitor.h

Issue 9791048: - Wire the stack frame iterator to use stack maps for traversing objects if there are stack maps in… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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 | « vm/unit_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/visitor.h
===================================================================
--- vm/visitor.h (revision 6294)
+++ vm/visitor.h (working copy)
@@ -28,6 +28,16 @@
void VisitPointer(RawObject** p) { VisitPointers(p , p); }
};
+
+// An object finder visitor interface.
+class FindObjectVisitor {
+ public:
+ virtual ~FindObjectVisitor() {}
+
+ // Check if object matches find condition.
+ virtual bool FindObject(RawObject* obj) = 0;
+};
+
} // namespace dart
#endif // VM_VISITOR_H_
« no previous file with comments | « vm/unit_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698