Index: vm/visitor.h |
=================================================================== |
--- vm/visitor.h (revision 6329) |
+++ 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_ |