Commit e4b410f8 authored by rossberg@chromium.org's avatar rossberg@chromium.org

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
parent 4b583674
...@@ -1020,7 +1020,7 @@ static char* ReadChars(const char* name, int* size_out) { ...@@ -1020,7 +1020,7 @@ static char* ReadChars(const char* name, int* size_out) {
Handle<Value> Shell::ReadBuffer(const Arguments& args) { 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]); String::Utf8Value filename(args[0]);
int length; int length;
if (*filename == NULL) { if (*filename == NULL) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment