Do not implicitly convert non-object receivers for strict mode functions.
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 5 Apr 2013 11:57:02 +0000 (11:57 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 5 Apr 2013 11:57:02 +0000 (11:57 +0000)
commitdeecbb2e0103b612c1c67d60e11ba6d782753d73
tree71b20d7034f5882b70eb5c063cfe50acb007adb7
parent48635f7d58485553fe30a47cacef6eee2c14eca7
Do not implicitly convert non-object receivers for strict mode functions.

This was still the case for Array.prototype.* builtin functions.

R=rossberg@chromium.org
BUG=v8:2273

Review URL: https://chromiumcodereview.appspot.com/13473009

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14149 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/array.js
src/runtime.cc
src/runtime.h
test/mjsunit/regress/regress-2273.js [new file with mode: 0644]