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

Issue 555164: Fix exit frame type in breakpoint stub (Closed)

Created:
10 years, 10 months ago by SeRya
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 4

Patch Set 5 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -77 lines) Patch
M src/arm/codegen-arm.cc View 1 2 3 4 8 chunks +5 lines, -18 lines 0 comments Download
M src/arm/debug-arm.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/codegen.h View 1 2 3 4 2 chunks +13 lines, -8 lines 0 comments Download
M src/codegen.cc View 4 1 chunk +13 lines, -0 lines 2 comments Download
M src/frames.cc View 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/heap.h View 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/heap.cc View 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 1 2 3 4 9 chunks +5 lines, -18 lines 0 comments Download
M src/ia32/debug-ia32.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/x64/codegen-x64.cc View 1 2 3 4 9 chunks +7 lines, -26 lines 0 comments Download
M src/x64/debug-x64.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
SeRya
I found that my prev CL changed type of ExitFrame for the stub in a ...
10 years, 10 months ago (2010-01-29 16:00:03 UTC) #1
Søren Thygesen Gjesse
Thank you for spotting this. I missed the true prarmeter to Generate in the stub ...
10 years, 10 months ago (2010-02-01 08:57:19 UTC) #2
SeRya
http://codereview.chromium.org/555164/diff/1/7 File src/arm/codegen-arm.cc (right): http://codereview.chromium.org/555164/diff/1/7#newcode6201 src/arm/codegen-arm.cc:6201: int CEntryStub::MinorKey() { On 2010/02/01 08:57:19, Søren Gjesse wrote: ...
10 years, 10 months ago (2010-02-01 15:25:57 UTC) #3
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/555164/diff/36/1022 File src/codegen.cc (right): http://codereview.chromium.org/555164/diff/36/1022#newcode482 src/codegen.cc:482: ASSERT(result_size_ <= 2); I suggest you collect the ...
10 years, 10 months ago (2010-02-02 11:18:32 UTC) #4
SeRya
http://codereview.chromium.org/555164/diff/36/1022 File src/codegen.cc (right): http://codereview.chromium.org/555164/diff/36/1022#newcode482 src/codegen.cc:482: ASSERT(result_size_ <= 2); On 2010/02/02 11:18:32, Søren Gjesse wrote: ...
10 years, 10 months ago (2010-02-02 14:48:32 UTC) #5
William Hesse
10 years, 10 months ago (2010-02-03 06:18:35 UTC) #6
There is an error in the win32 build, due to the commented lines in codegen.cc.

http://codereview.chromium.org/555164/diff/11001/12011
File src/codegen.cc (right):

http://codereview.chromium.org/555164/diff/11001/12011#newcode485
src/codegen.cc:485: const indirect_result = result_size_ > 1;
This seems really wrong.  Either make the type (int) explicit, or make this a
constant bool.

http://codereview.chromium.org/555164/diff/11001/12011#newcode491
src/codegen.cc:491: | IndirectResultBits::encode(indirect_result > 1);
Shouldn't this just be indirect_result, not indirect_result > 1?  The second
expression is never true.

In all cases except _WIN64, this is encoding 0, which probably doesn't affect
the bitwise or, so maybe the entire return statement should be in an #ifdef, and
be optimized in all cases except WIN64 to just return
ExitFrameModeBits::encode(mode).

Powered by Google App Engine
This is Rietveld 408576698