Commit b68ffcc1 authored by Nick Mathewson's avatar Nick Mathewson 🎨
Browse files

r7341@Kushana: nickm | 2006-08-11 00:51:05 -0700

 Amazing how much difference adding a ! to all your asserts can make.


svn:r7029
parent 33fc8292
......@@ -39,7 +39,7 @@
#error "Sorry; we don't support building with NDEBUG."
#else
#ifdef __GNUC__
#define PREDICT_FALSE(x) PREDICT((x) != ((typeof(x)) 0), 0)
#define PREDICT_FALSE(x) PREDICT((x) == ((typeof(x)) 0), 0)
#else
#define PREDICT_FALSE(x) !(x)
#endif
......
Supports Markdown
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