Index: src/property.cc |
diff --git a/src/property.cc b/src/property.cc |
index 7cc2df5a3c9b1a5bca52f192873432ac5c9799db..6e043e2685e6609fb305ebf477920e8c3d4b188b 100644 |
--- a/src/property.cc |
+++ b/src/property.cc |
@@ -31,6 +31,15 @@ namespace v8 { |
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()) { |