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

Issue 1460503008: [turbofan] Switch passing of new.target to register. (Closed)

Created:
5 years, 1 month ago by Michael Starzinger
Modified:
5 years ago
Reviewers:
Benedikt Meurer, oth, Yang
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@local_turbofan-pass-new-target-6
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Switch passing of new.target to register. This passes the new.target value in a register instead of through a side-channel via the construct stub. Note that only TurboFan code uses the register value so far, but unoptimized code will be switched soon. R=bmeurer@chromium.org BUG=v8:4544 LOG=n Committed: https://crrev.com/7c45b005296fc326490a0703add50505518aaa51 Cr-Commit-Position: refs/heads/master@{#32203}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed comment. #

Patch Set 3 : Ported to some architectures. #

Patch Set 4 : Rebased. #

Patch Set 5 : Fixes and ported to MIPS. #

Patch Set 6 : Ported to MIPS64. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+267 lines, -140 lines) Patch
M src/arm/builtins-arm.cc View 1 2 3 4 6 chunks +24 lines, -13 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 3 6 chunks +13 lines, -4 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 2 3 4 7 chunks +25 lines, -15 lines 0 comments Download
M src/arm64/macro-assembler-arm64.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M src/arm64/macro-assembler-arm64.cc View 1 2 3 7 chunks +13 lines, -5 lines 0 comments Download
M src/compiler/ast-graph-builder.h View 1 2 chunks +6 lines, -2 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 3 2 chunks +14 lines, -5 lines 0 comments Download
M src/compiler/js-inlining.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/crankshaft/arm/lithium-codegen-arm.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M src/crankshaft/ia32/lithium-codegen-ia32.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M src/crankshaft/x64/lithium-codegen-x64.cc View 1 2 3 3 chunks +5 lines, -3 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 3 3 chunks +12 lines, -6 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 2 3 3 chunks +4 lines, -2 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 3 6 chunks +14 lines, -5 lines 0 comments Download
M src/ic/x64/handler-compiler-x64.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/mips/builtins-mips.cc View 1 2 3 4 6 chunks +24 lines, -15 lines 0 comments Download
M src/mips/macro-assembler-mips.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 2 3 4 6 chunks +13 lines, -5 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 2 3 4 5 6 chunks +23 lines, -14 lines 0 comments Download
M src/mips64/macro-assembler-mips64.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 3 4 5 6 chunks +13 lines, -5 lines 0 comments Download
M src/runtime/runtime-function.cc View 1 chunk +3 lines, -10 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 2 3 3 chunks +12 lines, -5 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 2 3 3 chunks +5 lines, -2 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 3 4 4 chunks +19 lines, -9 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Michael Starzinger
Benedikt: PTAL, ports missing, but ready for first round. Yang: FYI, because you are working ...
5 years, 1 month ago (2015-11-20 16:25:09 UTC) #2
Michael Starzinger
Orion: FYI, because I plan to switch the interpreter and fully remove Runtime_GetNewTarget sometime next ...
5 years, 1 month ago (2015-11-20 16:46:14 UTC) #4
Benedikt Meurer
LGTM with question. Thanks for doing this Michi. https://codereview.chromium.org/1460503008/diff/1/src/compiler/ast-graph-builder.h File src/compiler/ast-graph-builder.h (right): https://codereview.chromium.org/1460503008/diff/1/src/compiler/ast-graph-builder.h#newcode159 src/compiler/ast-graph-builder.h:159: Node* ...
5 years, 1 month ago (2015-11-23 05:24:22 UTC) #5
Michael Starzinger
Thanks. Will do ports now. https://codereview.chromium.org/1460503008/diff/1/src/compiler/ast-graph-builder.h File src/compiler/ast-graph-builder.h (right): https://codereview.chromium.org/1460503008/diff/1/src/compiler/ast-graph-builder.h#newcode159 src/compiler/ast-graph-builder.h:159: Node* GetIncomingNewTarget(); On 2015/11/23 ...
5 years, 1 month ago (2015-11-23 11:40:27 UTC) #6
Michael Starzinger
Ports done.
5 years ago (2015-11-24 09:29:49 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1460503008/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1460503008/100001
5 years ago (2015-11-24 11:37:45 UTC) #10
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years ago (2015-11-24 11:39:19 UTC) #11
commit-bot: I haz the power
5 years ago (2015-11-24 11:39:28 UTC) #12
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7c45b005296fc326490a0703add50505518aaa51
Cr-Commit-Position: refs/heads/master@{#32203}

Powered by Google App Engine
This is Rietveld 408576698