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

Issue 1927943003: Assign yield ids in ast-numbering rather than in bytecode-generator. (Closed)

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

Description

[generators] Assign yield ids in ast-numbering rather than in bytecode-generator. This avoids weird control flow when the bytecode generator skips dead code containing yields. BUG=v8:4907 LOG=n Committed: https://crrev.com/21f2c3eafe335de591a1c97967cfc89138dd7a55 Cr-Commit-Position: refs/heads/master@{#35940}

Patch Set 1 #

Total comments: 4

Patch Set 2 : rename id to yield_id and clarify some comment #

Total comments: 1

Patch Set 3 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -38 lines) Patch
M src/ast/ast.h View 1 4 chunks +13 lines, -3 lines 0 comments Download
M src/ast/ast-numbering.h View 1 1 chunk +18 lines, -3 lines 0 comments Download
M src/ast/ast-numbering.cc View 1 2 7 chunks +11 lines, -21 lines 0 comments Download
M src/ast/prettyprinter.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/interpreter/bytecode-generator.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 5 chunks +6 lines, -9 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1927943003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1927943003/1
4 years, 7 months ago (2016-04-28 15:40:39 UTC) #2
neis
PTAL
4 years, 7 months ago (2016-04-28 15:49:47 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-28 16:06:41 UTC) #7
Jarin
https://codereview.chromium.org/1927943003/diff/1/src/ast/ast.h File src/ast/ast.h (right): https://codereview.chromium.org/1927943003/diff/1/src/ast/ast.h#newcode2540 src/ast/ast.h:2540: int id() const { return id_; } I believe ...
4 years, 7 months ago (2016-04-28 16:31:18 UTC) #8
neis
https://codereview.chromium.org/1927943003/diff/1/src/ast/ast.h File src/ast/ast.h (right): https://codereview.chromium.org/1927943003/diff/1/src/ast/ast.h#newcode2540 src/ast/ast.h:2540: int id() const { return id_; } On 2016/04/28 ...
4 years, 7 months ago (2016-04-29 07:52:24 UTC) #9
rmcilroy
Nice. Interpreter changes LGTM.
4 years, 7 months ago (2016-04-29 08:31:43 UTC) #10
neis
Michi, PTAL
4 years, 7 months ago (2016-05-02 14:20:41 UTC) #12
Michael Starzinger
LGTM. https://codereview.chromium.org/1927943003/diff/20001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1927943003/diff/20001/src/interpreter/bytecode-generator.cc#newcode669 src/interpreter/bytecode-generator.cc:669: size_t first = stmt->first_yield_id(); nit: s/first/first_yield/
4 years, 7 months ago (2016-05-02 14:31:16 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1927943003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1927943003/40001
4 years, 7 months ago (2016-05-02 14:48:13 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-02 15:16:42 UTC) #18
commit-bot: I haz the power
4 years, 7 months ago (2016-05-02 15:18:21 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/21f2c3eafe335de591a1c97967cfc89138dd7a55
Cr-Commit-Position: refs/heads/master@{#35940}

Powered by Google App Engine
This is Rietveld 408576698