#ifndef COMPILER_H
#define COMPILER_H 1
+/* Prevent/force inlining. Used to improve performance. */
+#ifdef HAVE___ATTRIBUTE__
+# define noinline __attribute__((noinline))
+# define always_inline __attribute__((always_inline))
+# define unused __attribute__((unused))
+#else
+# define noinline
+# define always_inline
+# define unused
+#endif
+
/* Branch prediction information for the compiler. */
#ifdef HAVE___BUILTIN_EXPECT
# define likely(x) __builtin_expect(!!(x), 1)