From: ceriel Date: Tue, 7 Mar 1989 10:29:15 +0000 (+0000) Subject: undid some changes; they were not effective X-Git-Tag: release-5-5~2520 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=3370f962a49a17ab5b92dac35a52c77548bec3e4;p=ack.git undid some changes; they were not effective --- diff --git a/util/ego/il/il2_aux.c b/util/ego/il/il2_aux.c index 78187b686..ba72fb903 100644 --- a/util/ego/il/il2_aux.c +++ b/util/ego/il/il2_aux.c @@ -254,10 +254,7 @@ assign_ratio(c) /* Extra points for constants as parameters */ if (ratio <= 0) ratio = 1; ll = c->cl_looplevel+1; - if (IS_CALLED_IN_LOOP(c->cl_caller)) ll++; - /* Commented out; I don't see the point; Even if it is not called - from a loop, inline expansion is better - if (ll == 1) ll = 0; + if (ll == 1 && !IS_CALLED_IN_LOOP(c->cl_caller)) ll = 0; /* If the call is not in a loop and the called proc. is never called * in a loop, ll is set to 0. */