Index: src/property.cc |
=================================================================== |
--- src/property.cc (revision 9808) |
+++ src/property.cc (working copy) |
@@ -31,6 +31,15 @@ |
namespace internal { |
+void LookupResult::Iterate(ObjectVisitor* visitor) { |
+ LookupResult* current = this; // Could be NULL. |
+ while (current != NULL) { |
+ visitor->VisitPointer(BitCast<Object**>(¤t->holder_)); |
+ current = current->next_; |
+ } |
+} |
+ |
+ |
#ifdef OBJECT_PRINT |
void LookupResult::Print(FILE* out) { |
if (!IsFound()) { |