diff options
Diffstat (limited to 'src/include/builtins.h')
-rw-r--r-- | src/include/builtins.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/builtins.h b/src/include/builtins.h index 1c07e8d04..03bf5325a 100644 --- a/src/include/builtins.h +++ b/src/include/builtins.h @@ -42,6 +42,11 @@ extern "C" #define ALWAYS_INLINE __attribute__((always_inline)) /** + * Use of this macro will ensure that a function is never inlined. + */ +#define NEVER_INLINE __attribute__((noinline)) + +/** * Use of this macro will ensure a data structure is aligned on a cacheline boundary */ #define ALIGN_CACHELINE __attribute__((aligned (128))) |