Parser: delay throwing errors.
authormarja@chromium.org <marja@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 20 May 2014 12:22:04 +0000 (12:22 +0000)
committermarja@chromium.org <marja@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 20 May 2014 12:22:04 +0000 (12:22 +0000)
commit2fee5a16ee91758b3dbd1fdf32e4a9d9bc077864
tree2a14398de4dbb531e14c003df156cead88424fd5
parentfd4da6bfe7a674cb48db8dcc13e8fabaf5ba9bb6
Parser: delay throwing errors.

This makes Parser a bit more independent of Isolate during the recursive descent
phase. That is necessary for making it possible to run Parser on a non-main
thread in the future.

Proof of concept CL for the the "Parser independent of Isolate" work is here:
https://codereview.chromium.org/231073002/

BUG=
R=rossberg@chromium.org

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

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