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

Issue 271102: Record statement positions for the debugger in the fast code generator. (Closed)

Created:
11 years, 2 months ago by fschneider
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Record statement positions for the debugger in the fast code generator. Committed: http://code.google.com/p/v8/source/detail?r=3075

Patch Set 1 #

Total comments: 5

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -7 lines) Patch
M src/arm/codegen-arm.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/arm/fast-codegen-arm.cc View 1 4 chunks +4 lines, -0 lines 0 comments Download
M src/codegen.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/codegen.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M src/fast-codegen.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/fast-codegen.cc View 1 1 chunk +27 lines, -0 lines 0 comments Download
M src/ia32/codegen-ia32.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/ia32/fast-codegen-ia32.cc View 1 5 chunks +4 lines, -1 line 0 comments Download
M src/x64/codegen-x64.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/x64/fast-codegen-x64.cc View 1 4 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
fschneider
11 years, 2 months ago (2009-10-15 14:46:09 UTC) #1
Kevin Millikin (Chromium)
LGTM, with some style issues. http://codereview.chromium.org/271102/diff/1/10 File src/arm/codegen-arm.h (right): http://codereview.chromium.org/271102/diff/1/10#newcode158 Line 158: Too much whitespace? ...
11 years, 2 months ago (2009-10-15 14:54:27 UTC) #2
fschneider
11 years, 2 months ago (2009-10-15 15:21:00 UTC) #3
On 2009/10/15 14:54:27, Kevin Millikin wrote:
> LGTM, with some style issues.
> 
> http://codereview.chromium.org/271102/diff/1/10
> File src/arm/codegen-arm.h (right):
> 
> http://codereview.chromium.org/271102/diff/1/10#newcode158
> Line 158: 
> Too much whitespace?
>
DONE.
 
> http://codereview.chromium.org/271102/diff/1/10#newcode170
> Line 170: static void RecordPositions(MacroAssembler* masm, int pos);
> There's a big comment in codegen.h listing all the functions that are required
> to be in the platform-specific CodeGenerator classes (because they're needed
by
> clients).  You should probably add this function.
>

DONE.
 
> http://codereview.chromium.org/271102/diff/1/9
> File src/arm/fast-codegen-arm.cc (right):
> 
> http://codereview.chromium.org/271102/diff/1/9#newcode54
> Line 54: // ARM does NOT call CodeForFunctionPosition
> Period at the end of the comment.  We should talk to Søren when he gets back
> about what ARM *should* do.
> 

DONE.
Yes, we should confirm this. For now I just did the same thing as the normal
compiler.

> http://codereview.chromium.org/271102/diff/1/2
> File src/fast-codegen.h (right):
> 
> http://codereview.chromium.org/271102/diff/1/2#newcode52
> Line 52: // These member function use CodeGenerator::recordPositions
> No need for this comment about the implementation. It will just have to be
kept
> up to date whenever we change the implementation.
> 

DONE.

> http://codereview.chromium.org/271102/diff/1/2#newcode54
> Line 54: void CodeForFunctionPosition(FunctionLiteral* fun);
> Since we're building a new code generator, it's probably a good time to give
> these better names.  They don't emit code, so I think "SetFunctionPosition" is
> better.

DONE.

Powered by Google App Engine
This is Rietveld 408576698