Merge revision r8194 to 3.2 branch.
Limit the number of arguments in a function call to 32766. This is identical
to the limit on the number of parameters to a function.

BUG=v8:1413
TEST=regress/regress-1122.js
Review URL: http://codereview.chromium.org/7130003

git-svn-id: http://v8.googlecode.com/svn/branches/3.2@8200 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
4 files changed