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

Issue 1306953005: PPC: [builtins] Pass correct number of arguments after adapting arguments. (Closed)

Created:
5 years, 3 months ago by MTBrandyberry
Modified:
5 years, 3 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

PPC: [builtins] Pass correct number of arguments after adapting arguments. Port fbad63669e309e8c5c3f2ecf503df2fefaac79bb Original commit message: The call protocol requires that the register dedicated to the number of actual arguments (i.e. rax on x64) always contains the actual arguments. That means after adapting arguments it should match the number of expected arguments. But currently we pass some semi-random value (usually some stack address) after adapting arguments. It looks like this is currently not observable anywhere, because our builtins and functions either don't look at the number of arguments and just make hard coded (unchecked) assumptions, or are marked as "don't adapt arguments", which bypasses the broken code in the trampoline for arguments adaption. Nevertheless this should be fixed. R=bmeurer@chromium.org, jyan@ca.ibm.com, dstence@us.ibm.com, joransiu@ca.ibm.com BUG= Committed: https://crrev.com/8b781ecc5df89b083428fb28912c330ed331a79d Cr-Commit-Position: refs/heads/master@{#30480}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -9 lines) Patch
M src/ppc/builtins-ppc.cc View 3 chunks +13 lines, -9 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
MTBrandyberry
5 years, 3 months ago (2015-08-31 14:33:57 UTC) #1
JoranSiu
lgtm
5 years, 3 months ago (2015-08-31 16:06:01 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306953005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306953005/1
5 years, 3 months ago (2015-08-31 16:06:37 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 3 months ago (2015-08-31 16:32:39 UTC) #5
commit-bot: I haz the power
5 years, 3 months ago (2015-08-31 16:33:01 UTC) #6
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8b781ecc5df89b083428fb28912c330ed331a79d
Cr-Commit-Position: refs/heads/master@{#30480}

Powered by Google App Engine
This is Rietveld 408576698