Reviewers: Mads Ager, Description: Tiny change to make code match the comment.
Please review this at http://codereview.chromium.org/101017 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/objects.cc Index: src/objects.cc =================================================================== --- src/objects.cc (revision 1827) +++ src/objects.cc (working copy) @@ -5191,7 +5191,7 @@ // hidden symbols hash code is zero (and no other string has hash // code zero) it will always occupy the first entry if present. DescriptorArray* descriptors = this->map()->instance_descriptors(); - DescriptorReader r(descriptors); + DescriptorReader r(descriptors, 0); // Explicitly position reader at zero. if (!r.eos() && (r.GetKey() == key) && r.IsProperty()) { ASSERT(r.type() == FIELD); return FastPropertyAt(r.GetFieldIndex()); --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
