http://codereview.chromium.org/1722003/diff/1/4 File src/objects.cc (right):
http://codereview.chromium.org/1722003/diff/1/4#newcode4935 src/objects.cc:4935: Object* JSFunction::RemovePrototype() { On 2010/04/21 13:51:12, antonm wrote:
is it fine that we create many maps---one per removed prototype?
We could not modify the map, if it is used by another function. If natives syntax is not allowed, it will be done ~100 times only for builtin functions. http://codereview.chromium.org/1722003/show -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
