Apparently, no es5conform strict mode test exercise this. They all use Function.call and Function.apply as far as I could see.
http://codereview.chromium.org/6523052/diff/10002/src/ic.cc File src/ic.cc (right): http://codereview.chromium.org/6523052/diff/10002/src/ic.cc#newcode442 src/ic.cc:442: if (function->shared()->strict_mode() || On 2011/02/17 09:52:51, Mads Ager wrote:
Does this fit on one line?
Done. http://codereview.chromium.org/6523052/diff/10002/src/ic.cc#newcode519 src/ic.cc:519: // functions do not wrap the receiver, non-strict functions do. On 2011/02/17 09:52:51, Mads Ager wrote:
non-strict functions and objects called as functions do?
Done. http://codereview.chromium.org/6523052/diff/10002/src/ic.cc#newcode813 src/ic.cc:813: // functions do not wrap the receiver, non-strict functions do. On 2011/02/17 09:52:51, Mads Ager wrote:
Ditto.
Done. http://codereview.chromium.org/6523052/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
