STATIC_ASSERT is not available in shared build.

R=svenpanne@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10444136

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11700 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
rossberg@chromium.org 2012-06-01 12:28:15 +00:00
parent 4b583674da
commit e4b410f88f

View File

@ -1020,7 +1020,7 @@ static char* ReadChars(const char* name, int* size_out) {
Handle<Value> Shell::ReadBuffer(const Arguments& args) {
STATIC_ASSERT(sizeof(char) == sizeof(uint8_t)); // NOLINT
ASSERT(sizeof(char) == sizeof(uint8_t)); // NOLINT
String::Utf8Value filename(args[0]);
int length;
if (*filename == NULL) {