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

Issue 2861983002: [ignition] Optimize JSGenerator creation (Closed)

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

Description

[ignition] Optimize JSGenerator creation As a first step towards improving generator creation, create a builtin that can do it without a call to the runtime. Thread that builtin into the interpreter via an intrinsic. BUG=v8:6352 R=bmeurer@chromium.org Review-Url: https://codereview.chromium.org/2861983002 Cr-Commit-Position: refs/heads/master@{#45145} Committed: https://chromium.googlesource.com/v8/v8/+/c3f0e2a5b0eb8371ebb99868e14f038a00e9b669

Patch Set 1 #

Patch Set 2 : Now with debugger test fixes. #

Total comments: 6

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -210 lines) Patch
M src/builtins/builtins-constructor-gen.cc View 1 2 1 chunk +1 line, -69 lines 0 comments Download
M src/builtins/builtins-definitions.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/builtins/builtins-object-gen.cc View 1 1 chunk +46 lines, -0 lines 0 comments Download
M src/code-stub-assembler.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 1 chunk +75 lines, -0 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/interpreter/interpreter-assembler.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/interpreter/interpreter-intrinsics.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/interpreter/interpreter-intrinsics-generator.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/parsing/parser.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ForAwaitOf.golden View 1 2 15 chunks +37 lines, -37 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ForOfLoop.golden View 1 2 15 chunks +30 lines, -30 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Generators.golden View 1 2 12 chunks +17 lines, -17 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Modules.golden View 1 2 33 chunks +33 lines, -33 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/StandardForLoop.golden View 1 2 15 chunks +18 lines, -18 lines 0 comments Download

Messages

Total messages: 28 (19 generated)
mvstanton
Hi Benedikt, hi Ross, Here is the first step in improving CreateJSGeneratorObject. Ross, could you ...
3 years, 7 months ago (2017-05-04 18:47:31 UTC) #10
rmcilroy
LGTM with a couple of comments, thanks. https://codereview.chromium.org/2861983002/diff/20001/src/interpreter/bytecodes.h File src/interpreter/bytecodes.h (right): https://codereview.chromium.org/2861983002/diff/20001/src/interpreter/bytecodes.h#newcode755 src/interpreter/bytecodes.h:755: bytecode == ...
3 years, 7 months ago (2017-05-05 09:44:11 UTC) #11
Benedikt Meurer
LGTM modulo Ross' comments.
3 years, 7 months ago (2017-05-05 09:56:28 UTC) #12
mvstanton
Thanks for the comments! Ross, I get an assert in snapshot generation if I don't ...
3 years, 7 months ago (2017-05-05 11:50:27 UTC) #14
rmcilroy
LGTM, I'd forgotten there was an intrinsic to call a JS function. Thanks for checking. ...
3 years, 7 months ago (2017-05-05 13:50:32 UTC) #15
mvstanton
Right on, thanks Ross! Georg could you have a look at the src/parsing change? Best, ...
3 years, 7 months ago (2017-05-05 15:40:53 UTC) #19
neis
src/parsing/ lgtm
3 years, 7 months ago (2017-05-05 16:04:38 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/2861983002/40001
3 years, 7 months ago (2017-05-05 18:31:17 UTC) #25
commit-bot: I haz the power
3 years, 7 months ago (2017-05-05 18:33:09 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/c3f0e2a5b0eb8371ebb99868e14f038a00e...

Powered by Google App Engine
This is Rietveld 408576698