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

Unified Diff: src/d8.cc

Issue 10444136: STATIC_ASSERT is not available in shared build. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
Sven Panne 2012/06/01 12:26:20 sizeof(char) = 1 by definition, so I am not sure i
String::Utf8Value filename(args[0]);
int length;
if (*filename == NULL) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698