X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/8cfba08862aa81912f30886736d16bf3cc5d89a2..cf48f65699b65f3aefb5b76bb36a9dbc76fdd6f6:/UICaboodle/UCPlatform.h?ds=sidebyside diff --git a/UICaboodle/UCPlatform.h b/UICaboodle/UCPlatform.h index 4f2169e4..c2412329 100644 --- a/UICaboodle/UCPlatform.h +++ b/UICaboodle/UCPlatform.h @@ -54,3 +54,9 @@ while (false) default: \ _assume(false); \ throw; + +#define _likely(expr) \ + __builtin_expect(expr, 1) + +#define _unlikely(expr) \ + __builtin_expect(expr, 0)