Avoid using Function.prototype.call in a number of places in our
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 28 Jan 2011 10:33:10 +0000 (10:33 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 28 Jan 2011 10:33:10 +0000 (10:33 +0000)
commitf8b74a1541e65ee0a19942965af2ea516597f5ff
tree0862d22b187e32dc02281a4721c627fd3ab185ce
parent4968d50d8ffc3b7c55bf102fd7e9cfce94de0541
Avoid using Function.prototype.call in a number of places in our
builtins files. We should always use %_CallFunction for a couple of
reasons: it cannot be overwritten and it does not wrap basic types in
wrapper objects.

Review URL: http://codereview.chromium.org/6349018

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6524 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/date.js
src/json.js
src/messages.js
src/mirror-debugger.js
src/regexp.js
test/cctest/test-api.cc
test/mjsunit/debug-backtrace-text.js