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

Issue 11567007: Cleanup object printer declaration. (Closed)

Created:
8 years ago by Michael Starzinger
Modified:
8 years ago
Reviewers:
Sven Panne
CC:
v8-dev
Visibility:
Public.

Description

Cleanup object printer declaration. R=svenpanne@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=13214

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed comments by Sven Panne. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -292 lines) Patch
M src/objects.h View 1 50 chunks +87 lines, -292 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
Sven Panne
8 years ago (2012-12-13 10:05:11 UTC) #1
LGTM with a nit

https://codereview.chromium.org/11567007/diff/1/src/objects.h
File src/objects.h (right):

https://codereview.chromium.org/11567007/diff/1/src/objects.h#newcode761
src/objects.h:761: inline void Name##Print() { Name##Print(stdout); }  \
Drop this...

https://codereview.chromium.org/11567007/diff/1/src/objects.h#newcode762
src/objects.h:762: void Name##Print(FILE* out);
... and use "FILE* out = stdout" here, it's cleaner! ;-)

Powered by Google App Engine
This is Rietveld 408576698