Reimplement Function.prototype.bind.
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 17 Oct 2011 12:44:16 +0000 (12:44 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 17 Oct 2011 12:44:16 +0000 (12:44 +0000)
commit5152d2e0da3991a179b96fc1fc41c6754cd898ec
tree28c1398f1bef36d926ece5a790135af50365a014
parent6f4e70a1dc338409f8aee99b6b9aebb168c4a42c
Reimplement Function.prototype.bind.

Make instanceof work correctly.

BUG=v8:893

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9659 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
22 files changed:
src/arm/code-stubs-arm.cc
src/arm/macro-assembler-arm.cc
src/arm/macro-assembler-arm.h
src/factory.cc
src/heap.cc
src/ia32/code-stubs-ia32.cc
src/ia32/macro-assembler-ia32.cc
src/ia32/macro-assembler-ia32.h
src/macros.py
src/objects-inl.h
src/objects.h
src/profile-generator.cc
src/runtime.cc
src/runtime.h
src/runtime.js
src/v8natives.js
src/x64/code-stubs-x64.cc
src/x64/macro-assembler-x64.cc
src/x64/macro-assembler-x64.h
test/mjsunit/function-bind.js
test/mjsunit/harmony/proxies-function.js
test/mjsunit/regress/regress-1229.js