Author: [email protected]
Date: Tue May 12 22:38:38 2009
New Revision: 1925
Modified:
branches/bleeding_edge/src/handles.cc
Log:
Tiny change to make code match the comment.
Review URL: http://codereview.chromium.org/101017
Modified: branches/bleeding_edge/src/handles.cc
==============================================================================
--- branches/bleeding_edge/src/handles.cc (original)
+++ branches/bleeding_edge/src/handles.cc Tue May 12 22:38:38 2009
@@ -281,7 +281,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 = 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()));
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---