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

Issue 2936813002: Move closing of generators upon final return to the generator-resume builtin. (Closed)

Created:
3 years, 6 months ago by Jarin
Modified:
3 years, 6 months ago
Reviewers:
neis, rmcilroy
CC:
v8-reviews_googlegroups.com, marja+watch_chromium.org, rmcilroy
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

Move closing of generators upon final return to the generator-resume builtin. Review-Url: https://codereview.chromium.org/2936813002 Cr-Commit-Position: refs/heads/master@{#45906} Committed: https://chromium.googlesource.com/v8/v8/+/814d08a6af37438efe9f8648a651fd8d0e1f1b10

Patch Set 1 #

Patch Set 2 : Fix comments #

Total comments: 6

Patch Set 3 : Address reviewer comments #

Total comments: 1

Patch Set 4 : Add TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -159 lines) Patch
M src/builtins/builtins-generator-gen.cc View 1 2 3 chunks +14 lines, -6 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 1 chunk +7 lines, -2 lines 0 comments Download
M src/parsing/rewriter.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ForOfLoop.golden View 8 chunks +13 lines, -22 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Generators.golden View 15 chunks +25 lines, -47 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Modules.golden View 22 chunks +11 lines, -55 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/StandardForLoop.golden View 8 chunks +10 lines, -19 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
Jarin
Could you take a look, please?
3 years, 6 months ago (2017-06-13 10:01:41 UTC) #4
neis
lgtm https://codereview.chromium.org/2936813002/diff/20001/src/builtins/builtins-generator-gen.cc File src/builtins/builtins-generator-gen.cc (right): https://codereview.chromium.org/2936813002/diff/20001/src/builtins/builtins-generator-gen.cc#newcode29 src/builtins/builtins-generator-gen.cc:29: Node* closed = SmiConstant(JSGeneratorObject::kGeneratorClosed); Nit: move this down ...
3 years, 6 months ago (2017-06-13 10:58:17 UTC) #9
Jarin
Landing... https://codereview.chromium.org/2936813002/diff/20001/src/builtins/builtins-generator-gen.cc File src/builtins/builtins-generator-gen.cc (right): https://codereview.chromium.org/2936813002/diff/20001/src/builtins/builtins-generator-gen.cc#newcode29 src/builtins/builtins-generator-gen.cc:29: Node* closed = SmiConstant(JSGeneratorObject::kGeneratorClosed); On 2017/06/13 10:58:17, neis ...
3 years, 6 months ago (2017-06-13 11:05:56 UTC) #12
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/2936813002/40001
3 years, 6 months ago (2017-06-13 11:06:06 UTC) #15
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/42963)
3 years, 6 months ago (2017-06-13 11:11:19 UTC) #17
Jarin
Ross, could you take a look, please?
3 years, 6 months ago (2017-06-13 11:13:43 UTC) #19
rmcilroy
LGTM, thanks https://codereview.chromium.org/2936813002/diff/40001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/2936813002/diff/40001/src/interpreter/bytecode-generator.cc#newcode2255 src/interpreter/bytecode-generator.cc:2255: // generator-resume builtin. I'm guessing you could ...
3 years, 6 months ago (2017-06-13 12:36:00 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/2936813002/60001
3 years, 6 months ago (2017-06-13 13:21:12 UTC) #23
commit-bot: I haz the power
3 years, 6 months ago (2017-06-13 13:49:53 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/814d08a6af37438efe9f8648a651fd8d0e1...

Powered by Google App Engine
This is Rietveld 408576698