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

Issue 236633006: Reland r20692 "Check stack limit in ArgumentAdaptorTrampoline." (Closed)

Created:
6 years, 8 months ago by ulan
Modified:
6 years, 8 months ago
CC:
v8-dev
Visibility:
Public.

Description

Reland r20692 "Check stack limit in ArgumentAdaptorTrampoline." BUG=353058 LOG=N TEST=mjsunit/regress/regress-353058 R=mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=20751

Patch Set 1 #

Patch Set 2 : CALL instead of JUMP #

Patch Set 3 : Enable tests #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -15 lines) Patch
M src/arm/builtins-arm.cc View 1 4 chunks +31 lines, -1 line 0 comments Download
M src/arm64/builtins-arm64.cc View 1 4 chunks +34 lines, -1 line 2 comments Download
M src/builtins.h View 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/builtins-ia32.cc View 1 4 chunks +39 lines, -1 line 0 comments Download
M src/mips/builtins-mips.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/runtime.js View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/builtins-x64.cc View 1 4 chunks +37 lines, -1 line 1 comment Download
M test/mjsunit/mjsunit.status View 1 2 3 chunks +0 lines, -8 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ulan
One doesn't simply jump to a function in the arguments adaptor trampoline. :) We need ...
6 years, 8 months ago (2014-04-14 13:27:01 UTC) #1
Michael Starzinger
LGTM.
6 years, 8 months ago (2014-04-14 14:04:45 UTC) #2
ulan
Committed patchset #3 manually as r20751 (presubmit successful).
6 years, 8 months ago (2014-04-15 08:26:41 UTC) #3
haitao.feng
https://codereview.chromium.org/236633006/diff/10008/src/x64/builtins-x64.cc File src/x64/builtins-x64.cc (right): https://codereview.chromium.org/236633006/diff/10008/src/x64/builtins-x64.cc#newcode1343 src/x64/builtins-x64.cc:1343: __ PositiveSmiTimesPowerOfTwoToInteger64(rdx, rax, kPointerSizeLog2); It seems that rax and ...
6 years, 8 months ago (2014-04-17 07:42:55 UTC) #4
ulan
> It seems that rax and rbx are raw integers, instead of SMI. I think ...
6 years, 8 months ago (2014-04-17 08:32:35 UTC) #5
haitao.feng
On 2014/04/17 08:32:35, ulan wrote: > > It seems that rax and rbx are raw ...
6 years, 8 months ago (2014-04-17 08:48:24 UTC) #6
ulan
> From CallDescriptors::InitializeForIsolate in the code-stub-x64.cc, the rax' > representation is Representation::Integer32(). You're absolutely right, ...
6 years, 8 months ago (2014-04-17 09:22:47 UTC) #7
haitao.feng
On 2014/04/17 09:22:47, ulan wrote: > > From CallDescriptors::InitializeForIsolate in the code-stub-x64.cc, the rax' > ...
6 years, 8 months ago (2014-04-17 11:05:34 UTC) #8
jbramley
https://codereview.chromium.org/236633006/diff/10008/src/arm64/builtins-arm64.cc File src/arm64/builtins-arm64.cc (right): https://codereview.chromium.org/236633006/diff/10008/src/arm64/builtins-arm64.cc#newcode1418 src/arm64/builtins-arm64.cc:1418: __ Mov(x11, jssp); This move doesn't look necessary. https://codereview.chromium.org/236633006/diff/10008/src/arm64/builtins-arm64.cc#newcode1586 ...
6 years, 8 months ago (2014-04-24 08:39:45 UTC) #9
ulan
6 years, 8 months ago (2014-04-24 08:46:53 UTC) #10
Message was sent while issue was closed.
On 2014/04/24 08:39:45, jbramley wrote:
>
https://codereview.chromium.org/236633006/diff/10008/src/arm64/builtins-arm64.cc
> File src/arm64/builtins-arm64.cc (right):
> 
>
https://codereview.chromium.org/236633006/diff/10008/src/arm64/builtins-arm64...
> src/arm64/builtins-arm64.cc:1418: __ Mov(x11, jssp);
> This move doesn't look necessary.
> 
>
https://codereview.chromium.org/236633006/diff/10008/src/arm64/builtins-arm64...
> src/arm64/builtins-arm64.cc:1586: __ Brk(0);
> '__ Unreachable()' may be more appropriate.

Thanks! I uploaded fix: https://codereview.chromium.org/252483002/

Powered by Google App Engine
This is Rietveld 408576698