diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-07-07 18:15:50 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-07-07 18:15:50 -0700 |
commit | d7b666ecf47f7f5269ad5b7f826bca98f7350746 (patch) | |
tree | 19cefff0725898a24da9db6f55f1a4cc7d2903cf /upb.h | |
parent | 9c88385ba4b369c440a467d19fa656389f9212e5 (diff) |
Remove branch prediction hints. They seem to hurt more than help.
Diffstat (limited to 'upb.h')
-rw-r--r-- | upb.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -18,15 +18,6 @@ extern "C" { #endif -/* Branch prediction hints for GCC. */ -#ifdef __GNUC__ -#define likely(x) __builtin_expect((x),1) -#define unlikely(x) __builtin_expect((x),0) -#else -#define likely(x) (x) -#define unlikely(x) (x) -#endif - /* inline if possible, emit standalone code if required. */ #ifndef INLINE #define INLINE static inline |