We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acd3fcc commit cd4f43dCopy full SHA for cd4f43d
visibility.h
@@ -17,7 +17,7 @@
17
# define ASSERT(x) assert(x)
18
#else
19
# define UNREACHABLE(x) __builtin_unreachable()
20
-# define ASSERT(x) do { if (x) __builtin_unreachable(); } while(0)
+# define ASSERT(x) do { if (!(x)) __builtin_unreachable(); } while(0)
21
#endif
22
23
#define LIKELY(x) __builtin_expect(x, 1)
0 commit comments