X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=includes%2FRtsConfig.h;h=3b088b7417f52774a310adef977ecb3e7c23cefd;hb=5d379cbe65e406d5c3a848fe7fcd090cafbfeb78;hp=c40924a5e73a99162ef743a97f528050aa8fd73b;hpb=8c2549461d624ad5cfec9be3266bdfd016371658;p=ghc-hetmet.git diff --git a/includes/RtsConfig.h b/includes/RtsConfig.h index c40924a..3b088b7 100644 --- a/includes/RtsConfig.h +++ b/includes/RtsConfig.h @@ -24,28 +24,10 @@ /* * Whether the runtime system will use libbfd for debugging purposes. */ -#if defined(DEBUG) && defined(HAVE_BFD_H) && !defined(_WIN32) && !defined(PAR) && !defined(GRAN) +#if defined(DEBUG) && defined(HAVE_BFD_H) && defined(HAVE_LIBBFD) && !defined(_WIN32) #define USING_LIBBFD 1 #endif -/* Turn lazy blackholing and eager blackholing on/off. - * - * Using eager blackholing makes things easier to debug because - * the blackholes are more predictable - but it's slower and less sexy. - * - * For now, do lazy and not eager. - */ - -/* TICKY_TICKY needs EAGER_BLACKHOLING to verify no double-entries of - * single-entry thunks. - */ -/* #if defined(TICKY_TICKY) || defined(THREADED_RTS) */ -#if defined(TICKY_TICKY) -# define EAGER_BLACKHOLING -#else -# define LAZY_BLACKHOLING -#endif - /* ----------------------------------------------------------------------------- Labels - entry labels & info labels point to the same place in TABLES_NEXT_TO_CODE, so we only generate the _info label. Jumps @@ -73,8 +55,10 @@ Signals - supported on non-PAR versions of the runtime. See RtsSignals.h. -------------------------------------------------------------------------- */ -#if !defined(PAR) #define RTS_USER_SIGNALS 1 -#endif + +/* Profile spin locks */ + +#define PROF_SPIN #endif /* RTSCONFIG_H */