Have one, long-lived map for bound functions.
authorjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 13 Jun 2014 12:19:04 +0000 (12:19 +0000)
committerjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 13 Jun 2014 12:19:04 +0000 (12:19 +0000)
commit6e29768eb60fa060360a4cd0afaae337465a5064
treed8e2bc94e8bd0e879d9e19a9102cf414fccc0b9d
parent9dd1f03cb750b31414b8ff1efa58d30c7ccd63db
Have one, long-lived map for bound functions.

This avoids creating a new map for every bound function. Bonus: some cleanup in Runtime_FunctionBindArguments.

R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/335653002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21839 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8.h
src/bootstrapper.cc
src/contexts.h
src/runtime.cc
src/v8natives.js
test/mjsunit/runtime-gen/functionbindarguments.js [new file with mode: 0644]
tools/generate-runtime-tests.py