CFLAGS=$safe_CFLAGS
-# does this compiler support __builtin_expect?
-AC_MSG_CHECKING([if gcc supports __builtin_expect])
-
-AC_TRY_LINK(, [
-return __builtin_expect(1, 1) ? 1 : 0
-],
-[
-ac_have_builtin_expect=yes
-AC_MSG_RESULT([yes])
-], [
-ac_have_builtin_expect=no
-AC_MSG_RESULT([no])
-])
-if test x$ac_have_builtin_expect = xyes ; then
- AC_DEFINE(HAVE_BUILTIN_EXPECT, 1, [Define to 1 if gcc supports __builtin_expect.])
-fi
-
-
# does the ppc assembler support "mtocrf" et al?
AC_MSG_CHECKING([if ppc32/64 as supports mtocrf/mfocrf])
************************************************************* */
#include "priv_aspacemgr.h"
+#include "config.h"
/*-----------------------------------------------------------------*/
************************************************************* */
#include "priv_aspacemgr.h"
+#include "config.h"
/* Note: many of the exported functions implemented below are
#include "priv_types_n_macros.h"
#include "priv_syswrap-generic.h"
+#include "config.h"
+
/* Returns True iff address range is something the client can
plausibly mess with: all of it is either already belongs to the
#include "pub_tool_redir.h"
#include "valgrind.h"
#include "helgrind.h"
+#include "config.h"
#define TRACE_PTH_FNS 0
#define TRACE_QT4_FNS 0
// For varargs types
#include <stdarg.h>
-/* For HAVE_BUILTIN_EXPECT */
-#include "config.h"
-
/* ---------------------------------------------------------------------
symbol prefixing
#define VG_BUGS_TO "www.valgrind.org"
/* Branch prediction hints. */
-#if HAVE_BUILTIN_EXPECT
+#if 1 /*HAVE_BUILTIN_EXPECT*/
# define LIKELY(x) __builtin_expect(!!(x), 1)
# define UNLIKELY(x) __builtin_expect((x), 0)
#else