Get rid of PreParserScope.
authormarja <marja@chromium.org>
Tue, 10 Feb 2015 13:27:08 +0000 (05:27 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 10 Feb 2015 13:27:25 +0000 (13:27 +0000)
commit0ca9bef37fba0bbf408addf9ef3bf9e58ec8cc13
treeb026276de65848ae6a97d28cd8e6092f946d6d5a
parent18e7f82b018997c3164d92a90e3103b20e306c19
Get rid of PreParserScope.

It's unnecessary; PreParser can just use normal Scopes for the things it needs
to track. Note: the only functionalities of PreParserScope were keeping track of
the scope stack, and for each scope, the scope type and language mode. Those are
now done by Scope. PreParser doesn't yet put variables into scopes (that will be
done in a follow up).

R=rossberg@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#26544}
src/parser.cc
src/parser.h
src/preparser.cc
src/preparser.h