Harden Function()'s parsing of function literals.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 7 Mar 2013 15:46:14 +0000 (15:46 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 7 Mar 2013 15:46:14 +0000 (15:46 +0000)
commit4b0395cc23dd052552ea79b6a254ac5caea574a2
treeb8dbeb183d980c01ae7f938253a236f7008df3b2
parentaccbbd2c10a0f0a9711378ef192a86ec88875e72
Harden Function()'s parsing of function literals.

R=rossberg@chromium.org
BUG=v8:2470
TEST=mjsunit/regress/regress-2470

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13867 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler.cc
src/compiler.h
src/parser.cc
src/runtime.cc
src/runtime.h
src/v8natives.js
test/mjsunit/new-function.js
test/mjsunit/regress/regress-2470.js [new file with mode: 0644]