I don't think V8 has support for fast access of property attributes at the
moment. But I have the feeling that duplicating all of the attribute checks in the builtin functions is the wrong approach since we are able do them in the ICs
already.

So for this particular instance you can just switch Array.prototype.reverse into strict mode and get the desired behavior. But I don't want to land a change that switches just Array.prototype.reverse into strict mode before we thought through
all affected builtin functions first.

Also it's not trivial to just switch all our builtin functions into strict mode.
See the following issue for details:

http://code.google.com/p/v8/issues/detail?id=1955

https://chromiumcodereview.appspot.com/10453009/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to