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

Issue 2817653002: Revert "[turbofan] Avoid going through ArgumentsAdaptorTrampoline for CSA/C++ builtins." (Closed)

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

Description

Revert "[turbofan] Avoid going through ArgumentsAdaptorTrampoline for CSA/C++ builtins." This reverts commit 9df5674bd53b4a262e72f45263df9e886842c269 because it is not compatible with the way that Array.prototype.reduceRight and Array.prototype.reduce deal with optional parameters at this point (i.e. parameters where the behavior is different depending on whether the parameter was skipped or undefined was passed). In general, it might be better to not adapt arguments for builtins with optional paramters, that are likely skipped, for example as in Object.create or Array.prototype.reduce. Since that will require arguments adaptor frames for normal calls, especially from baseline code. Instead it might make sense to use the variadic arguments support in the CodeStubAssembler instead to avoid the arguments adaptor in all cases (not only when called from TurboFan optimized code). BUG=v8:5267, chromium:709782, chromium:707992, chromium:708282, chromium:708599, chromium:709173, chromium:709747, chromium:707065, chromium:710417 TBR=danno@chromium.org Review-Url: https://codereview.chromium.org/2817653002 Cr-Commit-Position: refs/heads/master@{#44593} Committed: https://chromium.googlesource.com/v8/v8/+/d98dfd8b9b68635c3b974e1d91be414304dec35c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -34 lines) Patch
M src/compiler/js-call-reducer.cc View 1 chunk +1 line, -34 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
Benedikt Meurer
3 years, 8 months ago (2017-04-12 04:07:57 UTC) #1
Benedikt Meurer
machenbach: FYI
3 years, 8 months ago (2017-04-12 04:08:34 UTC) #4
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/2817653002/1
3 years, 8 months ago (2017-04-12 04:08:51 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/v8/v8/+/d98dfd8b9b68635c3b974e1d91be414304dec35c
3 years, 8 months ago (2017-04-12 04:32:14 UTC) #10
Michael Achenbach
lgtm
3 years, 8 months ago (2017-04-12 07:45:50 UTC) #12
danno
3 years, 8 months ago (2017-04-12 08:04:16 UTC) #13
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698