Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Issue 1091743002: Simplify DoParseProgram (Closed)

Created:
5 years, 8 months ago by wingo
Modified:
5 years, 8 months ago
Reviewers:
marja
CC:
v8-dev, Michael Starzinger, Michael Achenbach
Base URL:
https://chromium.googlesource.com/v8/v8@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

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/e0913eccfbe6809a7a00af43d90aad28a430f80b Cr-Commit-Position: refs/heads/master@{#27880}

Patch Set 1 #

Patch Set 2 : Use peek location for scope end position #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -33 lines) Patch
M src/parser.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/parser.cc View 1 7 chunks +26 lines, -31 lines 0 comments Download

Messages

Total messages: 13 (1 generated)
wingo
The reason that this patch changed layout expectations could be that scanner().location().end_pos is not the ...
5 years, 8 months ago (2015-04-16 09:01:58 UTC) #1
wingo
Patch 1 is exactly what was landed in https://codereview.chromium.org/1058363003. The update uses the peek_location().beg_pos to ...
5 years, 8 months ago (2015-04-16 09:31:07 UTC) #2
marja
lgtm if the new tryjob is happy
5 years, 8 months ago (2015-04-16 09:39:06 UTC) #3
wingo
On 2015/04/16 09:39:06, marja wrote: > lgtm if the new tryjob is happy fwiw the ...
5 years, 8 months ago (2015-04-16 09:40:25 UTC) #4
marja
Ähm, me. machenbach@, what's up with that bot? wingo: why would this change the result ...
5 years, 8 months ago (2015-04-16 09:42:22 UTC) #5
marja
*meh Btw, there are no layout tests for streaming afaics, but it should be tested ...
5 years, 8 months ago (2015-04-16 09:43:56 UTC) #6
wingo
On 2015/04/16 09:42:22, marja wrote: > Ähm, me. machenbach@, what's up with that bot? > ...
5 years, 8 months ago (2015-04-16 09:44:49 UTC) #7
marja
Hmm, so the end positions were inconsistent before, right? (source->length() for the non-streaming version, which ...
5 years, 8 months ago (2015-04-16 09:49:55 UTC) #8
marja
(So you can land if you've ran the layout tests yourself.)
5 years, 8 months ago (2015-04-16 09:50:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1091743002/20001
5 years, 8 months ago (2015-04-16 12:13:30 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 8 months ago (2015-04-16 12:42:47 UTC) #12
commit-bot: I haz the power
5 years, 8 months ago (2015-04-16 12:43:01 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e0913eccfbe6809a7a00af43d90aad28a430f80b
Cr-Commit-Position: refs/heads/master@{#27880}

Powered by Google App Engine
This is Rietveld 408576698