aboutsummaryrefslogtreecommitdiffstats
path: root/common/opthelpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/opthelpers.h')
-rw-r--r--common/opthelpers.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/common/opthelpers.h b/common/opthelpers.h
index 5fe455da..105ca89f 100644
--- a/common/opthelpers.h
+++ b/common/opthelpers.h
@@ -27,12 +27,10 @@
#define alunlikely
#endif
-#define LIKELY(x) (x) [[allikely]]
-#define UNLIKELY(x) (x) [[alunlikely]]
-
-/* Unlike LIKELY, ASSUME requires the condition to be true or else it invokes
- * undefined behavior. It's essentially an assert without actually checking the
- * condition at run-time, allowing for stronger optimizations than LIKELY.
+/* Unlike the likely attribute, ASSUME requires the condition to be true or
+ * else it invokes undefined behavior. It's essentially an assert without
+ * actually checking the condition at run-time, allowing for stronger
+ * optimizations than the likely attribute.
*/
#if HAS_BUILTIN(__builtin_assume)
#define ASSUME __builtin_assume