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

Issue 2562443003: [parsing] Fix maybe-assigned flag in some cases. (Closed)

Created:
4 years ago by neis
Modified:
4 years ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[parsing] Fix maybe-assigned flag in some cases. This CL attempts to set the maybe-assigned flag for variables that are written to as part of a destructuring or loop header. For instance, in the following two cases we now mark x as maybe-assigned. a) [x] = [1]; b) for (x of [1,2,3]) {}; There's more work to do here, this is just a first step. R=adamk@chromium.org, mstarzinger@chromium.org BUG=v8:5636 Committed: https://crrev.com/fcb7591520e9a8dc3fd7e535233ab064d6ba044e Cr-Commit-Position: refs/heads/master@{#41582}

Patch Set 1 #

Patch Set 2 : format #

Patch Set 3 : rebase #

Patch Set 4 : rebase again??? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -52 lines) Patch
M src/ast/ast.h View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M src/parsing/parser.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M src/parsing/pattern-rewriter.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 2 3 chunks +59 lines, -48 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
neis
4 years ago (2016-12-07 16:07:02 UTC) #1
adamk
lgtm
4 years ago (2016-12-07 17:41:17 UTC) #2
commit-bot: I haz the power
This CL has an open dependency (Issue 2554363002 Patch 1). Please resolve the dependency and ...
4 years ago (2016-12-08 08:15:28 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/2562443003/40001
4 years ago (2016-12-08 08:58:57 UTC) #8
commit-bot: I haz the power
Failed to apply patch for src/parsing/parser.cc: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-12-08 09:24:52 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/2562443003/40001
4 years ago (2016-12-08 09:26:25 UTC) #12
commit-bot: I haz the power
Failed to apply patch for src/parsing/parser.cc: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-12-08 09:28:01 UTC) #14
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/2562443003/60001
4 years ago (2016-12-08 09:37:01 UTC) #17
Michael Starzinger
LGTM.
4 years ago (2016-12-08 09:48:10 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-08 10:05:52 UTC) #20
commit-bot: I haz the power
4 years ago (2016-12-08 10:06:20 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fcb7591520e9a8dc3fd7e535233ab064d6ba044e
Cr-Commit-Position: refs/heads/master@{#41582}

Powered by Google App Engine
This is Rietveld 408576698