Fix some usage of "this" in builtins
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 19 Jan 2010 14:15:47 +0000 (14:15 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 19 Jan 2010 14:15:47 +0000 (14:15 +0000)
commit67f9e191f947735e17a21111d1928fb9742d92bb
treecbc56f2837659a4f2aa82c145fa10f3988cc2dba
parent73390e61ca89ba4cbcb2078565acd8be06c06d6e
Fix some usage of "this" in builtins

The implementation of Object.prototype.valueOf and Object.prototype.toString now calls ToObject on "this" as mandated by the spec.
Review URL: http://codereview.chromium.org/542112

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3651 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/codegen-arm.cc
src/arm/codegen-arm.h
src/codegen.cc
src/ia32/codegen-ia32.cc
src/ia32/codegen-ia32.h
src/macros.py
src/runtime.js
src/v8natives.js
src/x64/codegen-x64.cc
src/x64/codegen-x64.h
test/mjsunit/value-wrapper.js