Hello,
I am not so sure why it needs to always search the setter in prototypes when
setting a property, even there's a transition map:
Handle<Object> JSObject::SetPropertyForResult(Handle<JSObject> object,
...
if (!lookup->IsProperty() && !object->IsJSContextExtensionObject()) {
bool done = false;
Handle<Object> result_object = SetPropertyViaPrototypes(
object, name, value, attributes, strict_mode, &done);
if (done) return result_object;
}
Is it possible that both a map and a setter in ancestor existed?
Thank you,
Ting
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" 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.