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

Issue 2684993002: [interpreter] Create custom call opcodes for specific argument counts (Closed)

Created:
3 years, 10 months ago by danno
Modified:
3 years, 9 months ago
Reviewers:
rmcilroy
CC:
v8-reviews_googlegroups.com, v8-x87-ports_googlegroups.com, Leszek Swirski
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[interpreter] Create custom call opcodes for specific argument counts Specifically, add bytecodes for Call0, Call1, Call2, CallProperty0, CallProperty1, and CallProperty2. Also share the bytecode handler code between between equivalent CallX and CallPropertyX handlers. Review-Url: https://codereview.chromium.org/2684993002 Cr-Original-Commit-Position: refs/heads/master@{#43290} Committed: https://chromium.googlesource.com/v8/v8/+/00d6f1f80a00c4ac398af588dbd6815395791015 Review-Url: https://codereview.chromium.org/2684993002 Cr-Commit-Position: refs/heads/master@{#43700} Committed: https://chromium.googlesource.com/v8/v8/+/e466744da5a51fefbec5357a35a17b8fffe987b2

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix stack offset tracking #

Patch Set 4 : Latest #

Patch Set 5 : Fix CSA asserts #

Patch Set 6 : Fix tests #

Patch Set 7 : Silence CSA verifier #

Patch Set 8 : Fix x64 truncated stores #

Patch Set 9 : Remove stray change #

Patch Set 10 : Rebase #

Patch Set 11 : Latest #

Total comments: 20

Patch Set 12 : Review feedback #

Patch Set 13 : Rebase #

Patch Set 14 : Fix golden files again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+462 lines, -186 lines) Patch
M src/compiler/bytecode-graph-builder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +17 lines, -4 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +116 lines, -22 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +19 lines, -2 lines 0 comments Download
M src/interpreter/bytecode-pipeline.h View 4 chunks +40 lines, -1 line 0 comments Download
M src/interpreter/bytecodes.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +20 lines, -1 line 0 comments Download
M src/interpreter/interpreter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +8 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +90 lines, -10 lines 0 comments Download
M src/interpreter/interpreter-assembler.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M src/interpreter/interpreter-assembler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +6 lines, -3 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/CallGlobal.golden View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/CallLookupSlot.golden View 2 chunks +3 lines, -3 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ContextVariables.golden View 4 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/DeclareGlobals.golden View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Eval.golden View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ForAwaitOf.golden View 1 2 3 4 5 6 7 8 9 10 11 12 13 24 chunks +58 lines, -58 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ForOf.golden View 1 2 3 4 5 6 7 8 9 14 chunks +26 lines, -26 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/FunctionLiterals.golden View 2 chunks +3 lines, -3 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Generators.golden View 1 2 3 4 5 6 7 8 9 7 chunks +11 lines, -11 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/LookupSlot.golden View 5 chunks +5 lines, -5 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Modules.golden View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/PropertyCall.golden View 8 chunks +14 lines, -20 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/RegExpLiterals.golden View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 63 (53 generated)
danno
ptal
3 years, 10 months ago (2017-02-17 07:39:59 UTC) #34
rmcilroy
LGTM once comments are addressed, thanks! https://codereview.chromium.org/2684993002/diff/200001/src/compiler/bytecode-graph-builder.cc File src/compiler/bytecode-graph-builder.cc (right): https://codereview.chromium.org/2684993002/diff/200001/src/compiler/bytecode-graph-builder.cc#newcode1328 src/compiler/bytecode-graph-builder.cc:1328: void BytecodeGraphBuilder::BuildCall(TailCallMode tail_call_mode, ...
3 years, 10 months ago (2017-02-17 11:37:20 UTC) #35
danno
Feedback addressed will land when bots go green. https://codereview.chromium.org/2684993002/diff/200001/src/compiler/bytecode-graph-builder.cc File src/compiler/bytecode-graph-builder.cc (right): https://codereview.chromium.org/2684993002/diff/200001/src/compiler/bytecode-graph-builder.cc#newcode1328 src/compiler/bytecode-graph-builder.cc:1328: void ...
3 years, 10 months ago (2017-02-17 17:18:43 UTC) #40
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/2684993002/240001
3 years, 10 months ago (2017-02-17 17:55:37 UTC) #46
commit-bot: I haz the power
Committed patchset #13 (id:240001) as https://chromium.googlesource.com/v8/v8/+/00d6f1f80a00c4ac398af588dbd6815395791015
3 years, 10 months ago (2017-02-17 17:57:30 UTC) #49
Michael Achenbach
On 2017/02/17 17:57:30, commit-bot: I haz the power wrote: > Committed patchset #13 (id:240001) as ...
3 years, 10 months ago (2017-02-20 07:43:03 UTC) #50
danno
A revert of this CL (patchset #13 id:240001) has been created in https://codereview.chromium.org/2709533002/ by danno@chromium.org. ...
3 years, 10 months ago (2017-02-20 09:24:08 UTC) #51
rmcilroy
On 2017/02/20 09:24:08, danno wrote: > A revert of this CL (patchset #13 id:240001) has ...
3 years, 10 months ago (2017-02-20 10:11:33 UTC) #52
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/2684993002/260001
3 years, 9 months ago (2017-03-09 14:38:23 UTC) #60
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 14:40:09 UTC) #63
Message was sent while issue was closed.
Committed patchset #14 (id:260001) as
https://chromium.googlesource.com/v8/v8/+/e466744da5a51fefbec5357a35a17b8fffe...

Powered by Google App Engine
This is Rietveld 408576698