From: bal Date: Tue, 27 Nov 1984 15:30:34 +0000 (+0000) Subject: "ivars" was renamed "ivvars" to avoid name conflict with sr_expr.c X-Git-Tag: release-5-5~5959 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=a6d53a6bcd492951e5550ecb91d8a5f4642a2d2b;p=ack.git "ivars" was renamed "ivvars" to avoid name conflict with sr_expr.c --- diff --git a/util/ego/sr/sr_iv.c b/util/ego/sr/sr_iv.c index f228c2bf4..fe561d2b9 100644 --- a/util/ego/sr/sr_iv.c +++ b/util/ego/sr/sr_iv.c @@ -21,7 +21,7 @@ -STATIC lset ivars; /* set of induction variables */ +STATIC lset ivvars; /* set of induction variables */ STATIC short nature(lnp) line_p lnp; @@ -86,7 +86,7 @@ STATIC ivar(lnp,step) i->iv_off = (TYPE(lnp) == OPSHORT ? (offset) SHORT(lnp) : OFFSET(lnp)); i->iv_incr = lnp; /* last instruction of increment code */ i->iv_step = step; /* step value */ - Ladd(i,&ivars); + Ladd(i,&ivvars); } @@ -160,7 +160,7 @@ induc_vars(loop,ivar_out, vars_out) line_p lnp; lset cand_iv, vars; - ivars = Lempty_set(); + ivvars = Lempty_set(); candidates(loop, &cand_iv, &vars); /* Find the set of all variables that are assigned precisely * once within the loop, within a firm block. @@ -178,6 +178,6 @@ induc_vars(loop,ivar_out, vars_out) } } Ljoin(cand_iv, &vars); - *ivar_out = ivars; + *ivar_out = ivvars; *vars_out = vars; }