Limit the number of arguments in a function call to 32766.
authorwhesse@chromium.org <whesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 7 Jun 2011 08:15:47 +0000 (08:15 +0000)
committerwhesse@chromium.org <whesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 7 Jun 2011 08:15:47 +0000 (08:15 +0000)
commit1ea14c20415645625ef88ccaf679c0c0e2beace9
treea1955963157e65dc47f0cc48117508256cbaa0d8
parent3b2470d296995e3b8508d67c3a918dfb9d348076
Limit the number of arguments in a function call to 32766.

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=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8194 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/messages.js
src/parser.cc
test/mjsunit/regress/regress-1122.js