Fixed LIKELY/UNLIKELY macros

This commit is contained in:
kobalicek
2017-05-03 12:51:59 +02:00
parent ab59e3518f
commit faf7e850bc

View File

@@ -811,8 +811,8 @@
# define ASMJIT_LIKELY(exp) __builtin_expect(!!(exp), 1) # define ASMJIT_LIKELY(exp) __builtin_expect(!!(exp), 1)
# define ASMJIT_UNLIKELY(exp) __builtin_expect(!!(exp), 0) # define ASMJIT_UNLIKELY(exp) __builtin_expect(!!(exp), 0)
#else #else
# define ASMJIT_LIKELY(exp) exp # define ASMJIT_LIKELY(exp) (exp)
# define ASMJIT_UNLIKELY(exp) exp # define ASMJIT_UNLIKELY(exp) (exp)
#endif #endif
// [@CC_EXPECT}@] // [@CC_EXPECT}@]