We should perform the illegal redeclaration check earlier so that we do not confuse...
authorjarin@chromium.org <jarin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 31 Mar 2014 16:45:46 +0000 (16:45 +0000)
committerjarin@chromium.org <jarin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 31 Mar 2014 16:45:46 +0000 (16:45 +0000)
commit5607582f3bbf06b262860414d9fcee43a8b34735
tree31d3223ed21b35197d76d8ca5009b136d0306dc4
parent38e82b8712e5359f5f33b00a984168943d129fae
We should perform the illegal redeclaration check earlier so that we do not confuse the AST typer with missing type feedback nodes.

R=yangguo@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20368 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler.cc
test/mjsunit/regress/regress-handle-illegal-redeclaration.js [new file with mode: 0644]