From 75a82a6fabbf9b740d1049276c0aa0fa86e97676 Mon Sep 17 00:00:00 2001 From: "iposva@chromium.org" Date: Wed, 13 May 2009 05:38:38 +0000 Subject: [PATCH] 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 --- src/handles.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handles.cc b/src/handles.cc index 2d9efe6..2dd71cf 100644 --- a/src/handles.cc +++ b/src/handles.cc @@ -281,7 +281,7 @@ Handle GetHiddenProperties(Handle 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(obj->FastPropertyAt(r.GetFieldIndex())); -- 2.7.4