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

Issue 2297733002: [parser] Refactor bookmark in SkipLazyFunctionBody (Closed)

Created:
4 years, 3 months ago by nickie
Modified:
4 years, 3 months ago
Reviewers:
adamk, vogelheim
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[parser] Refactor bookmark in SkipLazyFunctionBody This patch refactors the scanner bookmark in SkipLazyFunctionBody, so that it is only used locally, instead of being passed to several other methods. It is replaced by a "may_abort" parameter and an appropriate result denoting whether lazy parsing has been aborted. It also applies the hack of aborting lazy parsing for arrow functions that are considered to be "initialization functions". R=adamk@chromium.org, vogelheim@chromium.org BUG= LOG=N Committed: https://crrev.com/5d6eabb0eba0970091af936bc3fc80d420461373 Cr-Commit-Position: refs/heads/master@{#39072}

Patch Set 1 #

Total comments: 23

Patch Set 2 : Change according to reviewers' comments #

Patch Set 3 : Rebase #

Patch Set 4 : Fix formatting #

Patch Set 5 : Fix error with UNREACHABLE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -111 lines) Patch
M src/parsing/parser.h View 1 2 3 2 chunks +6 lines, -7 lines 0 comments Download
M src/parsing/parser.cc View 1 2 10 chunks +33 lines, -36 lines 0 comments Download
M src/parsing/parser-base.h View 1 2 3 9 chunks +43 lines, -12 lines 0 comments Download
M src/parsing/preparser.h View 1 2 3 4 6 chunks +17 lines, -12 lines 0 comments Download
M src/parsing/preparser.cc View 1 2 15 chunks +31 lines, -44 lines 0 comments Download

Messages

Total messages: 26 (12 generated)
nickie
4 years, 3 months ago (2016-08-30 16:11:41 UTC) #1
vogelheim
lgtm (just some nitpicks.) https://codereview.chromium.org/2297733002/diff/1/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/2297733002/diff/1/src/parsing/parser.cc#newcode4060 src/parsing/parser.cc:4060: // which may decide to ...
4 years, 3 months ago (2016-08-30 16:28:42 UTC) #2
adamk
Do we have any test coverage for this aborting logic? https://codereview.chromium.org/2297733002/diff/1/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/2297733002/diff/1/src/parsing/parser-base.h#newcode3365 ...
4 years, 3 months ago (2016-08-30 22:13:15 UTC) #3
nickie
On 2016/08/30 22:13:15, adamk wrote: > Do we have any test coverage for this aborting ...
4 years, 3 months ago (2016-08-31 13:23:36 UTC) #4
adamk
lgtm, and agreed that this needn't block on tests, though it would be good to ...
4 years, 3 months ago (2016-08-31 18:08:53 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2297733002/20001
4 years, 3 months ago (2016-09-01 09:01:36 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_android_arm_compile_rel on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_android_arm_compile_rel/builds/23700) v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
4 years, 3 months ago (2016-09-01 09:03:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2297733002/40001
4 years, 3 months ago (2016-09-01 09:04:46 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/23010)
4 years, 3 months ago (2016-09-01 09:08:16 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2297733002/60001
4 years, 3 months ago (2016-09-01 09:13:29 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: v8_win_nosnap_shared_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_rel_ng/builds/7948)
4 years, 3 months ago (2016-09-01 09:35:58 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2297733002/80001
4 years, 3 months ago (2016-09-01 09:45:16 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-01 10:23:03 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 10:23:29 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/5d6eabb0eba0970091af936bc3fc80d420461373
Cr-Commit-Position: refs/heads/master@{#39072}

Powered by Google App Engine
This is Rietveld 408576698