Tiny change to make code match the comment.
Review URL: http://codereview.chromium.org/101017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1925 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
6c39aefd4f
commit
75a82a6fab
@ -281,7 +281,7 @@ Handle<Object> GetHiddenProperties(Handle<JSObject> obj,
|
||||
// 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 = obj->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 Handle<Object>(obj->FastPropertyAt(r.GetFieldIndex()));
|
||||
|
Loading…
Reference in New Issue
Block a user