diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-10-27 00:48:23 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-10-27 00:48:23 -0700 |
commit | 92f5a5d3caf01f382f90c235e9057590a5e76870 (patch) | |
tree | edf52631145345943dc82e1b783de81ba89208af /deps/v8/src/property.cc | |
parent | 528c28587f11b64616ffa22b5cf3f53bea831792 (diff) | |
download | android-node-v8-92f5a5d3caf01f382f90c235e9057590a5e76870.tar.gz android-node-v8-92f5a5d3caf01f382f90c235e9057590a5e76870.tar.bz2 android-node-v8-92f5a5d3caf01f382f90c235e9057590a5e76870.zip |
Upgrade V8 to 3.7.1
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 7cc2df5a3c..6e043e2685 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()) { |