commit | 4c5567d496e329a718fb940aeda5841730280ceb | [log] [tgz] |
---|---|---|
author | commit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Thu Dec 15 13:45:56 2011 +0000 |
committer | commit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Thu Dec 15 13:45:56 2011 +0000 |
tree | d4b896724018d18330d71f0d0d16c16502d0018c | |
parent | ae72a98410218ec70802e0782122d77cb255ac80 [diff] |
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