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

Issue 1391543002: [builtins] Make sure argument count is always valid for C++ builtins. (Closed)

Created:
5 years, 2 months ago by Benedikt Meurer
Modified:
5 years, 2 months ago
Reviewers:
Igor Sheludko
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[builtins] Make sure argument count is always valid for C++ builtins. When calling into C++ builtins, we need to make sure that the argument count register contains the correct number of arguments, otherwise the CEntryStub will not be able to leave the stack in the correct state. R=ishell@chromium.org BUG=v8:4413 LOG=n Committed: https://crrev.com/9c8262f11e3d6359874a63f25a31c6ddfba3dc1c Cr-Commit-Position: refs/heads/master@{#31120}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove extra newline. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -30 lines) Patch
M src/arm/builtins-arm.cc View 2 chunks +14 lines, -4 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 2 chunks +13 lines, -4 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 2 chunks +19 lines, -4 lines 0 comments Download
M src/mips/builtins-mips.cc View 2 chunks +18 lines, -3 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 2 chunks +17 lines, -3 lines 0 comments Download
M src/x64/builtins-x64.cc View 2 chunks +18 lines, -4 lines 0 comments Download
A + test/mjsunit/compiler/regress-4413-1.js View 1 chunk +8 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Benedikt Meurer
5 years, 2 months ago (2015-10-06 07:42:57 UTC) #1
Benedikt Meurer
Hey Igor, The fix I just mentioned. Please take a look. Thanks, Benedikt
5 years, 2 months ago (2015-10-06 07:43:20 UTC) #2
Igor Sheludko
lgtm with a nit: https://codereview.chromium.org/1391543002/diff/1/src/x64/builtins-x64.cc File src/x64/builtins-x64.cc (right): https://codereview.chromium.org/1391543002/diff/1/src/x64/builtins-x64.cc#newcode63 src/x64/builtins-x64.cc:63: __ leap(rax, Operand(rbx, num_extra_args + ...
5 years, 2 months ago (2015-10-06 08:18:24 UTC) #3
Benedikt Meurer
https://codereview.chromium.org/1391543002/diff/1/src/x64/builtins-x64.cc File src/x64/builtins-x64.cc (right): https://codereview.chromium.org/1391543002/diff/1/src/x64/builtins-x64.cc#newcode63 src/x64/builtins-x64.cc:63: __ leap(rax, Operand(rbx, num_extra_args + 1)); I'll leave it ...
5 years, 2 months ago (2015-10-06 08:20:50 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1391543002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1391543002/20001
5 years, 2 months ago (2015-10-06 08:22:07 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-06 08:23:48 UTC) #7
commit-bot: I haz the power
5 years, 2 months ago (2015-10-06 08:24:07 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9c8262f11e3d6359874a63f25a31c6ddfba3dc1c
Cr-Commit-Position: refs/heads/master@{#31120}

Powered by Google App Engine
This is Rietveld 408576698