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

Issue 2649143002: [Turbofan] Implement call with spread bytecode in assembly code. (Closed)

Created:
3 years, 11 months ago by petermarshall
Modified:
3 years, 11 months ago
CC:
rmcilroy, v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com, v8-reviews_googlegroups.com, v8-x87-ports_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Turbofan] Implement call with spread bytecode in assembly code. We can share almost all of the architecture-specific builtin code with super-call-with-spread. Info to port-writers: The code in CheckSpreadAndPushToStack has changed slightly from what was in Generate_ConstructWithSpread, in that we take the length of the spreaded parameters from the JSArray rather than the FixedArray backing store. BUG=v8:5511 Review-Url: https://codereview.chromium.org/2649143002 Cr-Commit-Position: refs/heads/master@{#42632} Committed: https://chromium.googlesource.com/v8/v8/+/f9367847b0e97e7238b4bfefbec79c8fbbc11056

Patch Set 1 #

Patch Set 2 : Rebase on master #

Patch Set 3 : ia32 port #

Patch Set 4 : arm64 port #

Patch Set 5 : arm port #

Patch Set 6 : Clear new.target reg for pushing #

Patch Set 7 : Mips ports #

Total comments: 1

Patch Set 8 : Rename PushArgsMode to InterpreterPushArgsMode #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1091 lines, -974 lines) Patch
M src/builtins/arm/builtins-arm.cc View 1 2 3 4 5 6 7 10 chunks +161 lines, -136 lines 0 comments Download
M src/builtins/arm64/builtins-arm64.cc View 1 2 3 4 5 6 7 7 chunks +155 lines, -131 lines 0 comments Download
M src/builtins/builtins.h View 1 2 3 4 5 6 7 5 chunks +8 lines, -7 lines 0 comments Download
M src/builtins/builtins-interpreter.cc View 1 2 3 4 5 6 7 3 chunks +33 lines, -24 lines 0 comments Download
M src/builtins/ia32/builtins-ia32.cc View 1 2 3 4 5 6 7 10 chunks +169 lines, -147 lines 0 comments Download
M src/builtins/mips/builtins-mips.cc View 1 2 3 4 5 6 7 7 chunks +151 lines, -127 lines 0 comments Download
M src/builtins/mips64/builtins-mips64.cc View 1 2 3 4 5 6 7 7 chunks +150 lines, -127 lines 0 comments Download
M src/builtins/ppc/builtins-ppc.cc View 1 2 3 4 5 6 7 5 chunks +7 lines, -7 lines 0 comments Download
M src/builtins/s390/builtins-s390.cc View 1 2 3 4 5 6 7 5 chunks +7 lines, -7 lines 0 comments Download
M src/builtins/x64/builtins-x64.cc View 1 2 3 4 5 6 7 7 chunks +147 lines, -125 lines 0 comments Download
M src/builtins/x87/builtins-x87.cc View 1 2 3 4 5 6 7 5 chunks +7 lines, -7 lines 0 comments Download
M src/code-factory.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -4 lines 0 comments Download
M src/code-factory.cc View 1 2 3 4 5 6 7 2 chunks +11 lines, -5 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 chunk +8 lines, -5 lines 0 comments Download
M src/compiler/js-generic-lowering.cc View 1 chunk +10 lines, -2 lines 0 comments Download
M src/globals.h View 1 2 3 4 5 6 7 1 chunk +7 lines, -21 lines 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 3 chunks +4 lines, -20 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 chunk +11 lines, -8 lines 0 comments Download
M src/interpreter/interpreter-assembler.h View 1 chunk +8 lines, -0 lines 0 comments Download
M src/interpreter/interpreter-assembler.cc View 1 2 3 4 5 6 7 6 chunks +17 lines, -6 lines 0 comments Download
M src/runtime/runtime.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/runtime/runtime-classes.cc View 1 chunk +0 lines, -43 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/CallAndSpread.golden View 4 chunks +4 lines, -4 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/interpreter/interpreter-assembler-unittest.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (26 generated)
petermarshall
PTAL =]
3 years, 11 months ago (2017-01-23 15:18:27 UTC) #19
rmcilroy
Interpreter changes LGTM, thanks. https://codereview.chromium.org/2649143002/diff/110001/src/builtins/arm/builtins-arm.cc File src/builtins/arm/builtins-arm.cc (right): https://codereview.chromium.org/2649143002/diff/110001/src/builtins/arm/builtins-arm.cc#newcode1150 src/builtins/arm/builtins-arm.cc:1150: MacroAssembler* masm, TailCallMode tail_call_mode, PushArgsMode ...
3 years, 11 months ago (2017-01-23 15:38:44 UTC) #20
Benedikt Meurer
LGTM
3 years, 11 months ago (2017-01-24 13:02:06 UTC) #25
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/2649143002/130001
3 years, 11 months ago (2017-01-24 14:35:02 UTC) #28
commit-bot: I haz the power
3 years, 11 months ago (2017-01-24 14:37:07 UTC) #31
Message was sent while issue was closed.
Committed patchset #8 (id:130001) as
https://chromium.googlesource.com/v8/v8/+/f9367847b0e97e7238b4bfefbec79c8fbbc...

Powered by Google App Engine
This is Rietveld 408576698