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

Issue 1900033003: Disallow generator declarations in certain locations (Closed)

Created:
4 years, 8 months ago by Dan Ehrenberg
Modified:
4 years, 7 months ago
Reviewers:
adamk
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Disallow generator declarations in certain locations The legacy function declaration locations from Annex B 3.2 and 3.4 do not apply for generator declarations. This patch cracks down on those usages, which is tested for by new incoming test262 tests. BUG=v8:4824 LOG=Y R=adamk Committed: https://crrev.com/63b935428c29f60c35cf3a8234385c95251aea8a Cr-Commit-Position: refs/heads/master@{#35835}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fix from review comments #

Total comments: 2

Patch Set 3 : Fix overzealous find/replace #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -20 lines) Patch
M src/messages.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/parsing/parser.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M src/parsing/parser.cc View 1 2 3 7 chunks +22 lines, -8 lines 0 comments Download
M src/parsing/preparser.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/parsing/preparser.cc View 1 2 3 4 chunks +30 lines, -10 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
Dan Ehrenberg
4 years, 8 months ago (2016-04-20 02:14:54 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900033003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900033003/1
4 years, 8 months ago (2016-04-20 02:15:00 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-20 02:50:42 UTC) #5
adamk
https://codereview.chromium.org/1900033003/diff/1/src/parsing/parser.cc File src/parsing/parser.cc (left): https://codereview.chromium.org/1900033003/diff/1/src/parsing/parser.cc#oldcode2446 src/parsing/parser.cc:2446: return ParseFunctionDeclaration(labels, ok); Was this passing of labels just ...
4 years, 8 months ago (2016-04-20 19:09:28 UTC) #6
Dan Ehrenberg
https://codereview.chromium.org/1900033003/diff/1/src/parsing/parser.cc File src/parsing/parser.cc (left): https://codereview.chromium.org/1900033003/diff/1/src/parsing/parser.cc#oldcode2446 src/parsing/parser.cc:2446: return ParseFunctionDeclaration(labels, ok); On 2016/04/20 at 19:09:28, adamk wrote: ...
4 years, 7 months ago (2016-04-26 22:24:19 UTC) #7
adamk
https://codereview.chromium.org/1900033003/diff/20001/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/1900033003/diff/20001/src/parsing/parser.cc#newcode2390 src/parsing/parser.cc:2390: Statement* Parser::ParseHoistableDeclaration(bool* ok) { I was suggesting that this ...
4 years, 7 months ago (2016-04-26 23:55:57 UTC) #8
Dan Ehrenberg
https://codereview.chromium.org/1900033003/diff/20001/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/1900033003/diff/20001/src/parsing/parser.cc#newcode2390 src/parsing/parser.cc:2390: Statement* Parser::ParseHoistableDeclaration(bool* ok) { On 2016/04/26 at 23:55:57, adamk ...
4 years, 7 months ago (2016-04-27 00:18:11 UTC) #9
adamk
lgtm
4 years, 7 months ago (2016-04-27 18:24:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900033003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900033003/40001
4 years, 7 months ago (2016-04-27 18:28:46 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel_ng/builds/814) v8_linux_mips64el_compile_rel on tryserver.v8 (JOB_FAILED, ...
4 years, 7 months ago (2016-04-27 18:30:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900033003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900033003/60001
4 years, 7 months ago (2016-04-27 18:52:08 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-04-27 19:18:20 UTC) #18
commit-bot: I haz the power
4 years, 7 months ago (2016-05-01 22:01:32 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/63b935428c29f60c35cf3a8234385c95251aea8a
Cr-Commit-Position: refs/heads/master@{#35835}

Powered by Google App Engine
This is Rietveld 408576698