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

Issue 2789113004: [turbofan] Relax constraints on apply with arguments optimization. (Closed)

Created:
3 years, 8 months ago by Benedikt Meurer
Modified:
3 years, 8 months ago
Reviewers:
danno
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Relax constraints on apply with arguments optimization. For sloppy arguments in functions with declared formal parameters, the apply with arguments optimization in TurboFan wouldn't kick in currently, because so far there was no guard to see if using the arguments from the stack or the frame state is safe. One easy to check guard here is to just check that there's no observable side-effect between the actual arguments creation and the call to apply. BUG=v8:5267, v8:6200 R=danno@chromium.org Review-Url: https://codereview.chromium.org/2789113004 Cr-Commit-Position: refs/heads/master@{#44363} Committed: https://chromium.googlesource.com/v8/v8/+/e8c109e2788b59e2b96243131fc17554ca53de32

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -8 lines) Patch
M src/compiler/js-call-reducer.cc View 1 chunk +17 lines, -8 lines 2 comments Download

Messages

Total messages: 11 (6 generated)
Benedikt Meurer
3 years, 8 months ago (2017-04-04 07:36:18 UTC) #1
danno
lgtm with comment https://codereview.chromium.org/2789113004/diff/1/src/compiler/js-call-reducer.cc File src/compiler/js-call-reducer.cc (right): https://codereview.chromium.org/2789113004/diff/1/src/compiler/js-call-reducer.cc#newcode147 src/compiler/js-call-reducer.cc:147: Node* effect = NodeProperties::GetEffectInput(node); Does it ...
3 years, 8 months ago (2017-04-04 07:55:11 UTC) #4
Benedikt Meurer
https://codereview.chromium.org/2789113004/diff/1/src/compiler/js-call-reducer.cc File src/compiler/js-call-reducer.cc (right): https://codereview.chromium.org/2789113004/diff/1/src/compiler/js-call-reducer.cc#newcode147 src/compiler/js-call-reducer.cc:147: Node* effect = NodeProperties::GetEffectInput(node); Given that we might want ...
3 years, 8 months ago (2017-04-04 08:02:14 UTC) #5
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/2789113004/1
3 years, 8 months ago (2017-04-04 08:03:14 UTC) #8
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 08:04:43 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/e8c109e2788b59e2b96243131fc17554ca5...

Powered by Google App Engine
This is Rietveld 408576698