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

Unified Diff: src/base/logging.h

Issue 1371593003: Set V8_FATAL and V8_UNIMPLEMENTED to ((void) 0) in Release (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: better formatting Created 5 years, 3 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/base/logging.h
diff --git a/src/base/logging.h b/src/base/logging.h
index 511ebf1e9c3e5af344eaaf809fb0726003768fe5..e02fd63cc6ad865cc1572c597907dae9ce1e1a5f 100644
--- a/src/base/logging.h
+++ b/src/base/logging.h
@@ -24,11 +24,9 @@ extern "C" void V8_Fatal(const char* file, int line, const char* format, ...);
#define UNREACHABLE() \
V8_Fatal(__FILE__, __LINE__, "unreachable code")
#else
-#define FATAL(msg) \
- V8_Fatal("", 0, "%s", (msg))
-#define UNIMPLEMENTED() \
- V8_Fatal("", 0, "unimplemented code")
-#define UNREACHABLE() ((void) 0)
+#define FATAL(msg) ((void) 0)
+#define UNIMPLEMENTED() ((void) 0)
+#define UNREACHABLE() ((void) 0)
#endif
« 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