diff options
Diffstat (limited to 'deps/v8/src/property.cc')
-rw-r--r-- | deps/v8/src/property.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/deps/v8/src/property.cc b/deps/v8/src/property.cc index 7cc2df5a3..6e043e268 100644 --- a/deps/v8/src/property.cc +++ b/deps/v8/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()) { |