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

Issue 1884183002: First version of the new generators implementation. (Closed)

Created:
4 years, 8 months ago by neis
Modified:
4 years, 8 months ago
CC:
v8-reviews_googlegroups.com, oth, v8-x87-ports_googlegroups.com, rmcilroy, Michael Hablich, Benedikt Meurer, Michael Starzinger
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

First version of the new generators implementation. Behind --ignition-generators. Does not yet support Turbofan. TBR=bmeurer@chromium.org BUG=v8:4907 LOG=n Committed: https://crrev.com/d0ccddd0324aa9391e76b611481bdc47f0f073de Cr-Commit-Position: refs/heads/master@{#35584}

Patch Set 1 : #

Total comments: 34

Patch Set 2 : Ross #

Patch Set 3 : Michi #

Patch Set 4 : cctest #

Patch Set 5 : more archs #

Patch Set 6 : Rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1590 lines, -234 lines) Patch
M src/arm/builtins-arm.cc View 1 2 3 4 5 1 chunk +60 lines, -34 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 2 3 4 5 1 chunk +60 lines, -39 lines 0 comments Download
M src/builtins.cc View 1 2 3 4 5 2 chunks +6 lines, -3 lines 0 comments Download
M src/compiler.cc View 1 2 3 4 5 2 chunks +8 lines, -2 lines 0 comments Download
M src/debug/mirrors.js View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/frames.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M src/frames.cc View 1 2 3 4 5 2 chunks +10 lines, -1 line 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 3 4 5 1 chunk +58 lines, -34 lines 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-generator.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 4 5 4 chunks +114 lines, -4 lines 2 comments Download
M src/interpreter/bytecode-register-allocator.h View 1 chunk +1 line, -1 line 0 comments Download
M src/isolate.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/mips/builtins-mips.cc View 1 2 3 4 5 1 chunk +60 lines, -34 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 2 3 4 5 1 chunk +61 lines, -35 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M src/runtime/runtime-generator.cc View 1 2 3 chunks +66 lines, -0 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 2 3 4 5 1 chunk +61 lines, -37 lines 0 comments Download
A test/cctest/interpreter/bytecode_expectations/Generators.golden View 1 2 3 1 chunk +629 lines, -0 lines 0 comments Download
M test/cctest/interpreter/generate-bytecode-expectations.cc View 1 2 3 8 chunks +10 lines, -0 lines 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
M test/mjsunit/harmony/generators.js View 1 2 2 chunks +305 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (17 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/1884183002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884183002/1
4 years, 8 months ago (2016-04-14 13:35:30 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel_ng/builds/150) v8_linux_arm_rel_ng_triggered on ...
4 years, 8 months ago (2016-04-14 14:01:01 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884183002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884183002/20001
4 years, 8 months ago (2016-04-14 15:17:34 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel_ng/builds/163) v8_linux_arm_rel_ng_triggered on ...
4 years, 8 months ago (2016-04-14 15:48:39 UTC) #10
neis
PTAL. Will port to the remaining platforms once everything looks good.
4 years, 8 months ago (2016-04-15 07:40:07 UTC) #12
rmcilroy
Very nice :). https://codereview.chromium.org/1884183002/diff/20001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1884183002/diff/20001/src/interpreter/bytecode-generator.cc#newcode644 src/interpreter/bytecode-generator.cc:644: resume_points_.clear(); Do we need the clear? ...
4 years, 8 months ago (2016-04-15 13:17:47 UTC) #13
Michael Starzinger
I just looked at the plumbing around the interpreter, that is looking good. Didn't look ...
4 years, 8 months ago (2016-04-15 14:13:47 UTC) #14
neis
https://codereview.chromium.org/1884183002/diff/20001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1884183002/diff/20001/src/interpreter/bytecode-generator.cc#newcode644 src/interpreter/bytecode-generator.cc:644: resume_points_.clear(); On 2016/04/15 13:17:46, rmcilroy wrote: > Do we ...
4 years, 8 months ago (2016-04-18 08:04:18 UTC) #16
neis
Added some basic cctests now.
4 years, 8 months ago (2016-04-18 10:01:07 UTC) #17
rmcilroy
LGTM once ports are done and test-bytecode-generator tests are added. https://codereview.chromium.org/1884183002/diff/20001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1884183002/diff/20001/src/interpreter/bytecode-generator.cc#newcode644 ...
4 years, 8 months ago (2016-04-18 10:01:57 UTC) #18
rmcilroy
That was quick on the tests :). Tests and generate-bytecode-expectations.cc changes LGTM too, thanks!
4 years, 8 months ago (2016-04-18 10:04:33 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/1884183002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884183002/120001
4 years, 8 months ago (2016-04-18 13:23:07 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-18 13:48:03 UTC) #23
Jarin
lgtm. Very cool. https://codereview.chromium.org/1884183002/diff/120001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1884183002/diff/120001/src/interpreter/bytecode-generator.cc#newcode2320 src/interpreter/bytecode-generator.cc:2320: .Jump(&resume_with_return); Out of curiosity, do you ...
4 years, 8 months ago (2016-04-18 13:55:06 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884183002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884183002/120001
4 years, 8 months ago (2016-04-18 13:58:32 UTC) #27
neis
https://codereview.chromium.org/1884183002/diff/20001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1884183002/diff/20001/src/interpreter/bytecode-generator.cc#newcode644 src/interpreter/bytecode-generator.cc:644: resume_points_.clear(); On 2016/04/18 10:01:57, rmcilroy wrote: > On 2016/04/18 ...
4 years, 8 months ago (2016-04-18 14:07:53 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/13791)
4 years, 8 months ago (2016-04-18 14:10:25 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884183002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884183002/120001
4 years, 8 months ago (2016-04-18 14:11:02 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 8 months ago (2016-04-18 14:13:10 UTC) #35
commit-bot: I haz the power
4 years, 8 months ago (2016-04-18 14:13:40 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d0ccddd0324aa9391e76b611481bdc47f0f073de
Cr-Commit-Position: refs/heads/master@{#35584}

Powered by Google App Engine
This is Rietveld 408576698