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

Issue 1901713003: [generators] Perform state dispatch in loop header. (Closed)

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

Description

[generators] Perform state dispatch in loop header. This is necessary to eventually build a turbofan graph. BUG=v8:4907 LOG=n Committed: https://crrev.com/42c0e2ec7c831d67a25be0e458a3513ae014fa4a Cr-Commit-Position: refs/heads/master@{#35820}

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Make Windows happy #

Total comments: 5

Patch Set 5 : Again #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 6

Patch Set 8 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+392 lines, -288 lines) Patch
M src/interpreter/bytecode-generator.h View 1 2 3 4 5 6 7 3 chunks +10 lines, -2 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 4 5 6 7 11 chunks +77 lines, -26 lines 0 comments Download
M src/interpreter/control-flow-builders.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/control-flow-builders.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Generators.golden View 1 10 chunks +277 lines, -258 lines 0 comments Download
M test/mjsunit/harmony/generators.js View 1 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (15 generated)
rmcilroy
Some high level comments. https://codereview.chromium.org/1901713003/diff/1/src/interpreter/bytecode-array-builder.cc File src/interpreter/bytecode-array-builder.cc (right): https://codereview.chromium.org/1901713003/diff/1/src/interpreter/bytecode-array-builder.cc#newcode881 src/interpreter/bytecode-array-builder.cc:881: BytecodeArrayBuilder& BytecodeArrayBuilder::IndexedJump( As mentioned in ...
4 years, 8 months ago (2016-04-19 09:30:03 UTC) #2
neis
https://codereview.chromium.org/1901713003/diff/1/src/interpreter/bytecode-array-builder.cc File src/interpreter/bytecode-array-builder.cc (right): https://codereview.chromium.org/1901713003/diff/1/src/interpreter/bytecode-array-builder.cc#newcode881 src/interpreter/bytecode-array-builder.cc:881: BytecodeArrayBuilder& BytecodeArrayBuilder::IndexedJump( On 2016/04/19 09:30:03, rmcilroy wrote: > As ...
4 years, 8 months ago (2016-04-19 11:02:15 UTC) #3
rmcilroy
https://codereview.chromium.org/1901713003/diff/1/src/interpreter/control-flow-builders.cc File src/interpreter/control-flow-builders.cc (right): https://codereview.chromium.org/1901713003/diff/1/src/interpreter/control-flow-builders.cc#newcode139 src/interpreter/control-flow-builders.cc:139: .StoreAccumulatorInRegister(state); On 2016/04/19 11:02:15, neis wrote: > On 2016/04/19 ...
4 years, 8 months ago (2016-04-19 11:14:26 UTC) #4
neis
On 2016/04/19 11:14:26, rmcilroy wrote: > https://codereview.chromium.org/1901713003/diff/1/src/interpreter/control-flow-builders.cc > File src/interpreter/control-flow-builders.cc (right): > > https://codereview.chromium.org/1901713003/diff/1/src/interpreter/control-flow-builders.cc#newcode139 > ...
4 years, 8 months ago (2016-04-19 11:46:00 UTC) #5
rmcilroy
On 2016/04/19 11:46:00, neis wrote: > On 2016/04/19 11:14:26, rmcilroy wrote: > > > https://codereview.chromium.org/1901713003/diff/1/src/interpreter/control-flow-builders.cc ...
4 years, 8 months ago (2016-04-19 13:18:08 UTC) #6
neis
> Doing it once at the end of loops is potentially even more work than ...
4 years, 8 months ago (2016-04-19 13:51:13 UTC) #7
Jarin
https://codereview.chromium.org/1901713003/diff/1/src/interpreter/control-flow-builders.cc File src/interpreter/control-flow-builders.cc (right): https://codereview.chromium.org/1901713003/diff/1/src/interpreter/control-flow-builders.cc#newcode139 src/interpreter/control-flow-builders.cc:139: .StoreAccumulatorInRegister(state); On 2016/04/19 11:14:26, rmcilroy wrote: > On 2016/04/19 ...
4 years, 8 months ago (2016-04-25 09:50:37 UTC) #9
neis
PTAL. Moved stuff out of arraybuilder etc.
4 years, 8 months ago (2016-04-26 11:22:13 UTC) #10
neis
PTAL. Moved stuff out of arraybuilder etc.
4 years, 8 months ago (2016-04-26 11:22:13 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901713003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901713003/40001
4 years, 8 months ago (2016-04-26 11:22:36 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win_nosnap_shared_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_rel_ng/builds/800)
4 years, 8 months ago (2016-04-26 11:26:26 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901713003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901713003/60001
4 years, 8 months ago (2016-04-26 12:42:56 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_rel_ng/builds/6291)
4 years, 8 months ago (2016-04-26 12:51:11 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901713003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901713003/80001
4 years, 8 months ago (2016-04-26 12:57:34 UTC) #21
Jarin
https://codereview.chromium.org/1901713003/diff/60001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1901713003/diff/60001/src/interpreter/bytecode-generator.cc#newcode656 src/interpreter/bytecode-generator.cc:656: // for these resume points, to be used inside ...
4 years, 8 months ago (2016-04-26 12:59:51 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win_nosnap_shared_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_rel_ng/builds/811)
4 years, 8 months ago (2016-04-26 13:02:08 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901713003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901713003/120001
4 years, 8 months ago (2016-04-26 14:03:22 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-26 14:30:15 UTC) #28
neis
https://codereview.chromium.org/1901713003/diff/60001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1901713003/diff/60001/src/interpreter/bytecode-generator.cc#newcode656 src/interpreter/bytecode-generator.cc:656: // for these resume points, to be used inside ...
4 years, 8 months ago (2016-04-26 14:59:10 UTC) #29
rmcilroy
LGTM, thanks for making these changes. https://codereview.chromium.org/1901713003/diff/120001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1901713003/diff/120001/src/interpreter/bytecode-generator.cc#newcode639 src/interpreter/bytecode-generator.cc:639: void BytecodeGenerator::BuildIndexedJump(Register index, ...
4 years, 8 months ago (2016-04-27 11:02:26 UTC) #30
neis
https://codereview.chromium.org/1901713003/diff/60001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1901713003/diff/60001/src/interpreter/bytecode-generator.cc#newcode656 src/interpreter/bytecode-generator.cc:656: // for these resume points, to be used inside ...
4 years, 8 months ago (2016-04-27 12:01:26 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901713003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901713003/140001
4 years, 8 months ago (2016-04-27 12:02:20 UTC) #35
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 7 months ago (2016-04-27 12:40:45 UTC) #37
commit-bot: I haz the power
4 years, 7 months ago (2016-04-27 12:42:17 UTC) #39
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/42c0e2ec7c831d67a25be0e458a3513ae014fa4a
Cr-Commit-Position: refs/heads/master@{#35820}

Powered by Google App Engine
This is Rietveld 408576698