Revert of Simplify DoParseProgram (patchset #2 id:20001 of https://codereview.chromiu...
authormachenbach <machenbach@chromium.org>
Wed, 15 Apr 2015 17:20:29 +0000 (10:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Apr 2015 17:20:21 +0000 (17:20 +0000)
commitc85b22486a2d3066dec960b5073d6b2a07a7482d
tree57f4dbfecaa44b20e36fec2bd728fd84d4c8ceca
parent79be74364a40db15d831f4578617819bb391e465
Revert of Simplify DoParseProgram (patchset #2 id:20001 of https://codereview.chromium.org/1058363003/)

Reason for revert:
[Sheriff] Changes some layout tests on all platforms, e.g.:
http://build.chromium.org/p/client.v8/builders/V8-Blink%20Linux%2032/builds/2543

Original issue's description:
> Simplify DoParseProgram
>
> DoParseProgram doesn't appear to need to receive toplevel scopes as
> arguments; it can properly set the end_position of the scopes to the
> scanner's position after parsing is complete.
>
> R=marja@chromium.org
> BUG=
> LOG=N
>
> Committed: https://crrev.com/8da9252f61d3c499a78b0b94299c314b2eb0b0c8
> Cr-Commit-Position: refs/heads/master@{#27847}

TBR=marja@chromium.org,wingo@igalia.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=

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

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