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

Issue 1146963002: Add %GetCallerJSFunction intrinsic (Closed)

Created:
5 years, 7 months ago by danno
Modified:
5 years, 6 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add %GetCallerJSFunction intrinsic Only optimized for TF R=mstarzinger@chromium.org Committed: https://crrev.com/74f9d8c901ba68c2d664b6e1e3ba80cf0efe8e02 Cr-Commit-Position: refs/heads/master@{#28812}

Patch Set 1 #

Patch Set 2 : Merge with ToT #

Total comments: 12

Patch Set 3 : Review feedback #

Patch Set 4 : Latest #

Patch Set 5 : Rebase #

Patch Set 6 : Feedback #

Patch Set 7 : Tests run #

Total comments: 1

Patch Set 8 : Give up on compositability #

Patch Set 9 : Tweaks #

Total comments: 12

Patch Set 10 : Review feedback #

Patch Set 11 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -2 lines) Patch
M src/compiler/access-builder.h View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M src/compiler/access-builder.cc View 1 2 3 4 5 6 7 8 9 1 chunk +14 lines, -0 lines 0 comments Download
M src/compiler/arm/code-generator-arm.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/instruction-codes.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -0 lines 0 comments Download
M src/compiler/js-intrinsic-lowering.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/js-intrinsic-lowering.cc View 1 2 3 4 5 6 7 8 9 2 chunks +27 lines, -0 lines 0 comments Download
M src/compiler/linkage.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/machine-operator.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/machine-operator.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/mips/code-generator-mips.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/mips64/code-generator-mips64.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/opcodes.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/ppc/code-generator-ppc.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/simplified-lowering.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/typer.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/verifier.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M src/runtime/runtime-internal.cc View 1 2 3 4 5 6 7 8 9 1 chunk +10 lines, -0 lines 0 comments Download
A test/mjsunit/get-caller-js-function.js View 1 2 3 4 5 6 7 8 9 1 chunk +21 lines, -0 lines 0 comments Download
A test/mjsunit/get-caller-js-function-throws.js View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
danno
PTAL
5 years, 7 months ago (2015-05-20 13:58:05 UTC) #1
Sven Panne
DBC... https://codereview.chromium.org/1146963002/diff/20001/test/mjsunit/get-caller-js-function.js File test/mjsunit/get-caller-js-function.js (right): https://codereview.chromium.org/1146963002/diff/20001/test/mjsunit/get-caller-js-function.js#newcode8 test/mjsunit/get-caller-js-function.js:8: return %GetCallerJSFunction(); This will *always* call the runtime ...
5 years, 7 months ago (2015-05-20 14:05:48 UTC) #3
Michael Starzinger
One real issue about arguments adaptor and construct frames. Otherwise just nits. https://codereview.chromium.org/1146963002/diff/20001/src/compiler/js-intrinsic-lowering.cc File src/compiler/js-intrinsic-lowering.cc ...
5 years, 7 months ago (2015-05-20 14:25:18 UTC) #4
danno
Please take another look. https://codereview.chromium.org/1146963002/diff/20001/src/compiler/js-intrinsic-lowering.cc File src/compiler/js-intrinsic-lowering.cc (right): https://codereview.chromium.org/1146963002/diff/20001/src/compiler/js-intrinsic-lowering.cc#newcode470 src/compiler/js-intrinsic-lowering.cc:470: NodeProperties::ReplaceWithValue(node, outer_frame, effect, control); On ...
5 years, 7 months ago (2015-05-22 11:21:35 UTC) #5
Michael Starzinger
Looking good. https://codereview.chromium.org/1146963002/diff/120001/test/mjsunit/get-caller-js-function.js File test/mjsunit/get-caller-js-function.js (right): https://codereview.chromium.org/1146963002/diff/120001/test/mjsunit/get-caller-js-function.js#newcode47 test/mjsunit/get-caller-js-function.js:47: return a(1,2,3) As discussed offline: Can we ...
5 years, 7 months ago (2015-05-22 12:41:13 UTC) #6
danno
Please take another look
5 years, 6 months ago (2015-06-03 14:17:38 UTC) #7
Michael Starzinger
LGTM with comments. https://codereview.chromium.org/1146963002/diff/160001/src/compiler/js-intrinsic-lowering.cc File src/compiler/js-intrinsic-lowering.cc (right): https://codereview.chromium.org/1146963002/diff/160001/src/compiler/js-intrinsic-lowering.cc#newcode464 src/compiler/js-intrinsic-lowering.cc:464: if (FLAG_turbo_deoptimization) { This flag no ...
5 years, 6 months ago (2015-06-05 11:21:57 UTC) #8
danno
Feedback addressed, landing https://codereview.chromium.org/1146963002/diff/160001/src/compiler/js-intrinsic-lowering.cc File src/compiler/js-intrinsic-lowering.cc (right): https://codereview.chromium.org/1146963002/diff/160001/src/compiler/js-intrinsic-lowering.cc#newcode464 src/compiler/js-intrinsic-lowering.cc:464: if (FLAG_turbo_deoptimization) { On 2015/06/05 11:21:56, ...
5 years, 6 months ago (2015-06-05 11:49:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1146963002/200001
5 years, 6 months ago (2015-06-05 11:50:56 UTC) #12
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 6 months ago (2015-06-05 12:28:56 UTC) #13
commit-bot: I haz the power
5 years, 6 months ago (2015-06-05 12:29:12 UTC) #14
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/74f9d8c901ba68c2d664b6e1e3ba80cf0efe8e02
Cr-Commit-Position: refs/heads/master@{#28812}

Powered by Google App Engine
This is Rietveld 408576698