Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/asmjit/asmjit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkobalicek <kobalicek.petr@gmail.com>2017-05-03 13:51:59 +0300
committerkobalicek <kobalicek.petr@gmail.com>2017-05-03 13:51:59 +0300
commitfaf7e850bc4a9a4551bf1b57c5e7dd7662ff169e (patch)
treeb134cbe8f12551f4d8a79e75bbb42731fefb2820
parentab59e3518f8918a9185a49ab8bca321465462814 (diff)
Fixed LIKELY/UNLIKELY macros
-rw-r--r--src/asmjit/asmjit_build.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/asmjit/asmjit_build.h b/src/asmjit/asmjit_build.h
index b388d1c..77b151a 100644
--- a/src/asmjit/asmjit_build.h
+++ b/src/asmjit/asmjit_build.h
@@ -811,8 +811,8 @@
# define ASMJIT_LIKELY(exp) __builtin_expect(!!(exp), 1)
# define ASMJIT_UNLIKELY(exp) __builtin_expect(!!(exp), 0)
#else
-# define ASMJIT_LIKELY(exp) exp
-# define ASMJIT_UNLIKELY(exp) exp
+# define ASMJIT_LIKELY(exp) (exp)
+# define ASMJIT_UNLIKELY(exp) (exp)
#endif
// [@CC_EXPECT}@]