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

Issue 561049: Using RelocInfo instead of DebuggerStatementStub (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: 2

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 12

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -78 lines) Patch
M src/arm/codegen-arm.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 3 4 5 2 chunks +12 lines, -7 lines 0 comments Download
M src/arm/virtual-frame-arm.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M src/arm/virtual-frame-arm.cc View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M src/assembler.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/assembler.cc View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M src/codegen.h View 1 2 3 4 5 1 chunk +0 lines, -15 lines 0 comments Download
M src/codegen.cc View 1 2 3 4 5 1 chunk +0 lines, -7 lines 0 comments Download
M src/debug.cc View 1 2 3 4 5 1 chunk +1 line, -9 lines 0 comments Download
M src/frames.cc View 2 3 4 5 1 chunk +1 line, -6 lines 0 comments Download
M src/full-codegen.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M src/heap.h View 1 2 3 4 5 2 chunks +0 lines, -2 lines 0 comments Download
M src/heap.cc View 1 2 3 4 5 2 chunks +0 lines, -11 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 3 4 5 2 chunks +9 lines, -6 lines 0 comments Download
M src/ia32/virtual-frame-ia32.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M src/ia32/virtual-frame-ia32.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M src/x64/codegen-x64.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 3 4 5 2 chunks +10 lines, -7 lines 0 comments Download
M src/x64/virtual-frame-x64.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M src/x64/virtual-frame-x64.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
SeRya
10 years, 10 months ago (2010-02-03 19:44:07 UTC) #1
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/561049/diff/1/24 File src/heap.h (right): http://codereview.chromium.org/561049/diff/1/24#newcode104 src/heap.h:104: V(Code, debugger_statement_code, DebuggerStatementCode) \ You should be able ...
10 years, 10 months ago (2010-02-03 21:46:45 UTC) #2
SeRya
Removing debug_statement_code I have to fix the ExitFrame::code method with uses it. A I understand ...
10 years, 10 months ago (2010-02-04 14:29:21 UTC) #3
Søren Thygesen Gjesse
LGTM I think storing 0 into the code slot is a leftover which is not ...
10 years, 10 months ago (2010-02-05 14:03:34 UTC) #4
SeRya
10 years, 10 months ago (2010-02-05 15:47:16 UTC) #5
http://codereview.chromium.org/561049/diff/4027/3121
File src/arm/macro-assembler-arm.cc (right):

http://codereview.chromium.org/561049/diff/4027/3121#newcode337
src/arm/macro-assembler-arm.cc:337: push(ip);  // accessed from
EditFrame::code_slot
On 2010/02/05 14:03:34, Søren Gjesse wrote:
> Initial letter uppercase, end with period, no class called EditFrame.

Done.

http://codereview.chromium.org/561049/diff/4027/3116
File src/assembler.cc (right):

http://codereview.chromium.org/561049/diff/4027/3116#newcode432
src/assembler.cc:432: return "code target (context)";
On 2010/02/05 14:03:34, Søren Gjesse wrote:
> Change this to
> 
>     case RelocInfo::DEBUG_BREAK:
> #ifdef ENABLE_DEBUGGER_SUPPORT
>       return "debug break";
> #else
>       UNREACHABLE();
> #endif

at the case of  RelocInfo::NUMBER_OF_MODES both are used (UNREACHABLE and
return) so I do the same.

http://codereview.chromium.org/561049/diff/4027/3116#newcode493
src/assembler.cc:493: case CODE_TARGET_CONTEXT:
On 2010/02/05 14:03:34, Søren Gjesse wrote:
> Something like above, or just remove the #ifdef/#endif.

Done.

http://codereview.chromium.org/561049/diff/4027/3108
File src/assembler.h (right):

http://codereview.chromium.org/561049/diff/4027/3108#newcode122
src/assembler.h:122: #ifdef ENABLE_DEBUGGER_SUPPORT
On 2010/02/05 14:03:34, Søren Gjesse wrote:
> I think we should avoid the #ifdef/#endif here to always have the same id for
> reloc modes.

Done.

http://codereview.chromium.org/561049/diff/4027/3102
File src/ia32/macro-assembler-ia32.cc (right):

http://codereview.chromium.org/561049/diff/4027/3102#newcode407
src/ia32/macro-assembler-ia32.cc:407: push(Immediate(CodeObject()));  //
accessed from EditFrame::code_slot
On 2010/02/05 14:03:34, Søren Gjesse wrote:
> See previous comment on comment.

Done.

http://codereview.chromium.org/561049/diff/4027/3110
File src/x64/macro-assembler-x64.cc (right):

http://codereview.chromium.org/561049/diff/4027/3110#newcode1965
src/x64/macro-assembler-x64.cc:1965: push(kScratchRegister);  // accessed from
EditFrame::code_slot
On 2010/02/05 14:03:34, Søren Gjesse wrote:
> See previous comment on comment.

Done.

Powered by Google App Engine
This is Rietveld 408576698