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

Issue 573010: Provide more logging data when building bolerplates. (Closed)

Created:
10 years, 10 months ago by mnaganov (inactive)
Modified:
9 years, 7 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Provide more logging data when building bolerplates. Committed: http://code.google.com/p/v8/source/detail?r=3795

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -30 lines) Patch
M src/compiler.h View 1 chunk +11 lines, -0 lines 0 comments Download
M src/compiler.cc View 3 chunks +44 lines, -27 lines 8 comments Download
M test/cctest/cctest.status View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
mnaganov (inactive)
10 years, 10 months ago (2010-02-04 14:34:38 UTC) #1
Erik Corry
Very nice. Thanks a lot for fixing this. LGTM. http://codereview.chromium.org/573010/diff/1/3 File src/compiler.cc (right): http://codereview.chromium.org/573010/diff/1/3#newcode401 src/compiler.cc:401: ...
10 years, 10 months ago (2010-02-04 15:11:06 UTC) #2
mnaganov (inactive)
10 years, 10 months ago (2010-02-04 15:18:14 UTC) #3
Thanks! I'll commit into this branch, and then into the bleeding edge.

http://codereview.chromium.org/573010/diff/1/3
File src/compiler.cc (right):

http://codereview.chromium.org/573010/diff/1/3#newcode401
src/compiler.cc:401: LogCodeCreateEvent(Logger::LAZY_COMPILE_TAG,
On 2010/02/04 15:11:06, Erik Corry wrote:
> We don't indent based on #if, so this should be 2 spaces from the left, not 4.

This is because I copied it from below. Fixed.

http://codereview.chromium.org/573010/diff/1/3#newcode556
src/compiler.cc:556: inline void
Compiler::LogCodeCreateEvent(Logger::LogEventsAndTags tag,
On 2010/02/04 15:11:06, Erik Corry wrote:
> I don't think there is any point in having an inline function as the last
thing
> in a .cc file.  I think most compilers will fail to inline it because it is
too
> late?

Removed 'inline'.

http://codereview.chromium.org/573010/diff/1/3#newcode563
src/compiler.cc:563: // include script name and line number. Check explicit
whether
On 2010/02/04 15:11:06, Erik Corry wrote:
> explicit->explicitly

Done.

http://codereview.chromium.org/573010/diff/1/3#newcode564
src/compiler.cc:564: // logging is enabled as finding the line number is not for
free.
On 2010/02/04 15:11:06, Erik Corry wrote:
> for free -> free

Done.

Powered by Google App Engine
This is Rietveld 408576698