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

Issue 2119353002: [parser] Fix bug in for-of desugaring. (Closed)

Created:
4 years, 5 months ago by neis
Modified:
4 years, 5 months ago
Reviewers:
Dan Ehrenberg
CC:
oth, rmcilroy, 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

[parser] Fix bug in for-of desugaring. When reading the value property of an iterator result fails, we must not close the iterator. This was not discovered earlier because the tests had a subtle bug. This CL fixes both the desugaring and the tests. BUG= Committed: https://crrev.com/d3aefe8cc3e8bae9fd4e3fd308aa4a35d3829efa Cr-Commit-Position: refs/heads/master@{#37571}

Patch Set 1 #

Patch Set 2 : gsave #

Patch Set 3 : gsave #

Total comments: 1

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+326 lines, -330 lines) Patch
M src/parsing/parser.h View 1 2 3 2 chunks +9 lines, -7 lines 0 comments Download
M src/parsing/parser.cc View 1 2 3 11 chunks +116 lines, -130 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ForOf.golden View 14 chunks +32 lines, -35 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Generators.golden View 1 2 3 4 chunks +154 lines, -155 lines 0 comments Download
M test/mjsunit/es6/iterator-close.js View 4 chunks +15 lines, -3 lines 0 comments Download

Messages

Total messages: 27 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2119353002/1
4 years, 5 months ago (2016-07-05 12:11:28 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-05 12:34:12 UTC) #4
neis
ptal
4 years, 5 months ago (2016-07-05 13:08:18 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2119353002/40001
4 years, 5 months ago (2016-07-05 13:08:28 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-05 13:32:18 UTC) #12
Dan Ehrenberg
lgtm The core change starting on line 3275 looks good to me. I'll leave it ...
4 years, 5 months ago (2016-07-07 00:21:06 UTC) #13
neis
On 2016/07/07 00:21:06, Dan Ehrenberg wrote: > lgtm > > The core change starting on ...
4 years, 5 months ago (2016-07-07 06:59:07 UTC) #14
neis
Regarding tests: yes, of course, they are part of this CL.
4 years, 5 months ago (2016-07-07 06:59:40 UTC) #15
Dan Ehrenberg
lgtm
4 years, 5 months ago (2016-07-07 07:15:56 UTC) #16
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/2119353002/40001
4 years, 5 months ago (2016-07-07 07:31:19 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_rel_ng/builds/8634) v8_linux_arm64_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
4 years, 5 months ago (2016-07-07 07:32:50 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/2119353002/60001
4 years, 5 months ago (2016-07-07 07:46:39 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-07 08:15:20 UTC) #25
commit-bot: I haz the power
4 years, 5 months ago (2016-07-07 08:16:24 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d3aefe8cc3e8bae9fd4e3fd308aa4a35d3829efa
Cr-Commit-Position: refs/heads/master@{#37571}

Powered by Google App Engine
This is Rietveld 408576698