summaryrefslogtreecommitdiff
path: root/includes/Rts.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Rts.h')
-rw-r--r--includes/Rts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/Rts.h b/includes/Rts.h
index 027d5173a1..fc69a964e3 100644
--- a/includes/Rts.h
+++ b/includes/Rts.h
@@ -119,13 +119,13 @@ void _assertFail(const char *filename, unsigned int linenum)
GNUC3_ATTRIBUTE(__noreturn__);
#define CHECK(predicate) \
- if (predicate) \
+ if (RTS_LIKELY(predicate)) \
/*null*/; \
else \
_assertFail(__FILE__, __LINE__)
#define CHECKM(predicate, msg, ...) \
- if (predicate) \
+ if (RTS_LIKELY(predicate)) \
/*null*/; \
else \
barf(msg, ##__VA_ARGS__)