Reviewers: Sven Panne,

Description:
STATIC_ASSERT is not available in shared build.


[email protected]
BUG=
TEST=


Please review this at https://chromiumcodereview.appspot.com/10444136/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/d8.cc


Index: src/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index 431782a3043512567107745e5717a1b342f5f59e..7a01d55148fa768c0eaba8a5a472f3513ef46d6b 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -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) {


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to