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

Issue 1492793002: [fullcode] Switch passing of new.target to register. (Closed)

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

Description

[fullcode] 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 this marks the last consumer of said side-channel and the special slot in the construct stub frame can be removed as a follow-up. R=bmeurer@chromium.org,yangguo@chromium.org TEST=mjsunit/es6/regress/regress-new-target-context Committed: https://crrev.com/440a42b74135b84c188d7db11f4c07678f53d0f3 Cr-Commit-Position: refs/heads/master@{#32548}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed comment. #

Patch Set 3 : Ported. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -229 lines) Patch
M src/full-codegen/arm/full-codegen-arm.cc View 1 2 5 chunks +26 lines, -32 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 2 5 chunks +26 lines, -38 lines 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 4 chunks +25 lines, -36 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 2 5 chunks +27 lines, -42 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 2 5 chunks +26 lines, -41 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 2 7 chunks +28 lines, -40 lines 0 comments Download
A test/mjsunit/es6/regress/regress-new-target-context.js View 1 chunk +25 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (4 generated)
Michael Starzinger
5 years ago (2015-12-02 12:34:20 UTC) #1
Michael Starzinger
Note that ports are not yet done, but I would like to get a first ...
5 years ago (2015-12-02 12:34:59 UTC) #2
Benedikt Meurer
Approach looks good, I like it. https://codereview.chromium.org/1492793002/diff/1/src/full-codegen/ia32/full-codegen-ia32.cc File src/full-codegen/ia32/full-codegen-ia32.cc (right): https://codereview.chromium.org/1492793002/diff/1/src/full-codegen/ia32/full-codegen-ia32.cc#newcode179 src/full-codegen/ia32/full-codegen-ia32.cc:179: DCHECK(info->scope()->new_target_var() == nullptr); ...
5 years ago (2015-12-02 12:36:08 UTC) #3
Michael Starzinger
Thanks! Doing ports now. https://codereview.chromium.org/1492793002/diff/1/src/full-codegen/ia32/full-codegen-ia32.cc File src/full-codegen/ia32/full-codegen-ia32.cc (right): https://codereview.chromium.org/1492793002/diff/1/src/full-codegen/ia32/full-codegen-ia32.cc#newcode179 src/full-codegen/ia32/full-codegen-ia32.cc:179: DCHECK(info->scope()->new_target_var() == nullptr); On 2015/12/02 ...
5 years ago (2015-12-02 13:59:00 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1492793002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1492793002/20001
5 years ago (2015-12-02 14:03:30 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-02 14:28:58 UTC) #8
Michael Starzinger
PTAL. Ports done. Ready for final review.
5 years ago (2015-12-02 14:45:47 UTC) #9
Benedikt Meurer
On 2015/12/02 14:45:47, Michael Starzinger wrote: > PTAL. Ports done. Ready for final review. LGTM. ...
5 years ago (2015-12-02 15:35:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1492793002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1492793002/40001
5 years ago (2015-12-03 09:36:05 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-03 10:04:02 UTC) #13
commit-bot: I haz the power
5 years ago (2015-12-03 10:04:42 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/440a42b74135b84c188d7db11f4c07678f53d0f3
Cr-Commit-Position: refs/heads/master@{#32548}

Powered by Google App Engine
This is Rietveld 408576698