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

Issue 10444136: STATIC_ASSERT is not available in shared build. (Closed)

Created:
8 years, 6 months ago by rossberg
Modified:
8 years, 6 months ago
Reviewers:
Sven Panne
CC:
v8-dev
Visibility:
Public.

Description

STATIC_ASSERT is not available in shared build. R=svenpanne@chromium.org BUG= TEST= Committed: https://code.google.com/p/v8/source/detail?r=11700

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/d8.cc View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 2 (0 generated)
rossberg
8 years, 6 months ago (2012-06-01 12:17:26 UTC) #1
Sven Panne
8 years, 6 months ago (2012-06-01 12:26:20 UTC) #2
LGTM, but IMHO we can as well remove the whole assert...

http://codereview.chromium.org/10444136/diff/1/src/d8.cc
File src/d8.cc (right):

http://codereview.chromium.org/10444136/diff/1/src/d8.cc#newcode1023
src/d8.cc:1023: ASSERT(sizeof(char) == sizeof(uint8_t));  // NOLINT
sizeof(char) = 1 by definition, so I am not sure if we need the assertion at
all.

Powered by Google App Engine
This is Rietveld 408576698