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

Issue 115076: Fix lint (Closed)

Created:
11 years, 7 months ago by William Hesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M src/globals.h View 1 chunk +1 line, -1 line 0 comments Download
M src/log.cc View 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/test-regexp.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
William Hesse
11 years, 7 months ago (2009-05-07 10:24:33 UTC) #1
Lasse Reichstein
LGTM, and thanks.
11 years, 7 months ago (2009-05-07 10:30:38 UTC) #2
Kevin Millikin (Chromium)
11 years, 7 months ago (2009-05-07 10:35:55 UTC) #3
http://codereview.chromium.org/115076/diff/1/3
File src/globals.h (right):

http://codereview.chromium.org/115076/diff/1/3#newcode85
Line 85: #else  // V8_HOST_ARCH_64_BIT
Shouldn't this comment say !V8_HOST_ARCH_64_BIT?

This nested #if stuff is complicated.  How about giving us some whitespace
before the inner #ifdef and after the inner #endif?

I actually like flattening the whole thing at this site (because there is
nothing shared between the the defined(_MSC_VER) and !defined(_MSC_VER)
versions) better:
#if V8_HOST_ARCH_64_BIT && defined(_MSC_VER)
...
#elif V8_HOST_ARCH_64_BIT
...
#else
...
#endif

Powered by Google App Engine
This is Rietveld 408576698