Parser cleanup: less member variables.
authormarja@chromium.org <marja@chromium.org>
Thu, 11 Sep 2014 09:52:36 +0000 (09:52 +0000)
committermarja@chromium.org <marja@chromium.org>
Thu, 11 Sep 2014 09:52:36 +0000 (09:52 +0000)
commit503eb3cd038cc1345cd07ac35a119a7d351d7c5a
tree376c0b5fef008139438f1a2606b39cbb9615fced
parenta311c26d4d68077f22f965fca18ff771fd70d98f
Parser cleanup: less member variables.

Parser had unnecessary member pointers to stuff stored in the
CompilationInfo (which Parser also points to).

As we add more parsing code paths (in particular, script streaming), this gets
confusing and Parser and CompilationInfo can get out of sync.

BUG=
R=jochen@chromium.org, rossberg@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23861 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/parser.cc
src/parser.h