Minor refactor to Parser::parseTryStatement
https://bugs.webkit.org/show_bug.cgi?id=74507

Patch by Andy Wingo <wingo@igalia.com> on 2011-12-15
Reviewed by Geoffrey Garen.

* parser/Parser.cpp (JSC::Parser::parseTryStatement): Use the
Parser's declareVariable instead of going directly to the scope.
This will facilitate future checks related to harmony block
scoping.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@102931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2 files changed