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

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

Created:
3 years, 10 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] Avoid going through ArgumentsAdaptorTrampoline for CSA/C++ builtins. When we call from TurboFan to a CSA or C++ builtin, we can avoid the ArgumentsAdaptorFrame in case of a parameter arity mismatch by just filling up missing arguments with undefined or removing additional arguments on the call site already. This is safe for CSA/C++ builtins, since those that care about variable arguments are marked with the kDontAdaptArgumentsSentinel. R=danno@chromium.org BUG=v8:5267 Review-Url: https://codereview.chromium.org/2684963002 Cr-Commit-Position: refs/heads/master@{#44218} Committed: https://chromium.googlesource.com/v8/v8/+/9df5674bd53b4a262e72f45263df9e886842c269

Patch Set 1 #

Patch Set 2 : Obviously do this only for native functions. #

Patch Set 3 : Exclude JavaScript builtins. #

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

Messages

Total messages: 22 (16 generated)
Benedikt Meurer
3 years, 10 months ago (2017-02-08 13:35:14 UTC) #1
danno
Nice. lgtm.
3 years, 10 months ago (2017-02-08 13:37:38 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/2684963002/20001
3 years, 10 months ago (2017-02-08 13:51:50 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/builds/16949) v8_linux64_asan_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 10 months ago (2017-02-08 14:04:28 UTC) #12
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/2684963002/40001
3 years, 8 months ago (2017-03-29 07:31:38 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 07:41:23 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/9df5674bd53b4a262e72f45263df9e88684...

Powered by Google App Engine
This is Rietveld 408576698