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

Issue 2447383002: [turbofan] Disable bogus lowering of builtin tail-calls. (Closed)

Created:
4 years, 1 month ago by Michael Starzinger
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Disable bogus lowering of builtin tail-calls. The TurboFan backends currently don't support tail-calls to CPP builtins because the semantics of kJavaScriptCallArgCountRegister has different semantics for stub call descriptors versus JavaScript call descriptors. This is actually a short-coming of the backends and follow-up work will make the backends more robust in that regard to fail hard on unsupported constructs like that. This just disables the lowering creating such a tail-call. R=bmeurer@chromium.org BUG=chromium:658691 TEST=mjsunit/regress/regress-crbug-658691 Committed: https://crrev.com/2ab2ec224324d0a9e59e100d53a55394dc57ea12 Cr-Commit-Position: refs/heads/master@{#40590}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -1 line) Patch
M src/compiler/js-typed-lowering.cc View 2 chunks +3 lines, -1 line 3 comments Download
A test/mjsunit/regress/regress-crbug-658691.js View 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
Michael Starzinger
Benedikt: PTAL. Jakob: FYI.
4 years, 1 month ago (2016-10-26 11:17:43 UTC) #3
jgruber
lgtm https://codereview.chromium.org/2447383002/diff/1/src/compiler/js-typed-lowering.cc File src/compiler/js-typed-lowering.cc (right): https://codereview.chromium.org/2447383002/diff/1/src/compiler/js-typed-lowering.cc#newcode1881 src/compiler/js-typed-lowering.cc:1881: } else if (is_builtin && Builtins::HasCppImplementation(builtin_index) && ReduceBuiltin ...
4 years, 1 month ago (2016-10-26 11:22:59 UTC) #6
Michael Starzinger
https://codereview.chromium.org/2447383002/diff/1/src/compiler/js-typed-lowering.cc File src/compiler/js-typed-lowering.cc (right): https://codereview.chromium.org/2447383002/diff/1/src/compiler/js-typed-lowering.cc#newcode1752 src/compiler/js-typed-lowering.cc:1752: CallDescriptor::Flags flags = CallDescriptor::kNeedsFrameState; Flags are set unconditionally to ...
4 years, 1 month ago (2016-10-26 11:35:54 UTC) #7
Benedikt Meurer
lgtm
4 years, 1 month ago (2016-10-26 12:01:51 UTC) #10
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/2447383002/1
4 years, 1 month ago (2016-10-26 12:47:06 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-10-26 12:48:46 UTC) #14
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:13:59 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2ab2ec224324d0a9e59e100d53a55394dc57ea12
Cr-Commit-Position: refs/heads/master@{#40590}

Powered by Google App Engine
This is Rietveld 408576698