From eb50492a1f4e81fac9331c009b5d2d1e82e91f21 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 1 Aug 1990 14:34:53 +0000 Subject: [PATCH] #ifdeffed strange test --- util/ego/ra/ra_profits.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/util/ego/ra/ra_profits.c b/util/ego/ra/ra_profits.c index ab17fa789..208dd757a 100644 --- a/util/ego/ra/ra_profits.c +++ b/util/ego/ra/ra_profits.c @@ -222,10 +222,13 @@ compute_profits(alloclist,time_opt) nr_inits = Lnrelems(alloc->al_inits); s = alloc->al_susecount * space - nr_inits*ospace; +#ifdef __STRANGE__ if (!alloc->al_isloop && nr_inits > 0) { /* might lead to increase of execution time */ cnt = 0; - } else { + } else +#endif + { cnt = alloc->al_dusecount; } t = cnt * time - dyn_inits(alloc->al_inits) * otime; -- 2.34.1