https://codereview.chromium.org/23857009/diff/1/src/objects.cc
File src/objects.cc (right):
https://codereview.chromium.org/23857009/diff/1/src/objects.cc#newcode1927
src/objects.cc:1927: void JSObject::AddFastProperty(Handle<JSObject>
object,
Could we rename this to either JSObject::AddField or
JSObject::AddFieldProperty (in sync with AddConstantProperty). Seems
more accurate.
https://codereview.chromium.org/23857009/diff/1/src/objects.cc#newcode1959
src/objects.cc:1959: int unused_property_fields =
object->map()->unused_property_fields() - 1;
Now that you created CopyAddFieldDescriptor, you can move these 5 lines
calculating the new unused_property_fields into that method.
https://codereview.chromium.org/23857009/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.