aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/util_bug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/util_bug.h b/src/common/util_bug.h
index 22ec37d38f..f3e5b7c963 100644
--- a/src/common/util_bug.h
+++ b/src/common/util_bug.h
@@ -38,6 +38,10 @@
* and then passed right to a conditional. If you do anything else to the
* expression here, or introduce any more parentheses, the compiler won't
* help you.
+ *
+ * We only do this for the unit-test build case because it interferes with
+ * the likely-branch labeling. Note below that in the other case, we define
+ * these macros to just be synonyms for PREDICT_(UN)LIKELY.
*/
#define ASSERT_PREDICT_UNLIKELY_(e) \
({ \