This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] tree-ssa-alias.c: Remove a call to get_stmt_operands.


On Fri, 2005-04-15 at 14:13, Diego Novillo wrote:
> On Fri, Apr 15, 2005 at 12:54:57PM -0400, Kazu Hirata wrote:
> 
> > 	* tree-ssa-alias.c (init_alias_info): Remove a call to
> > 	get_stmt_operands.
> > 
> Ah, I meant *all* calls to get_stmt_operands *everwhere* :)
> 
> Andrew says they're not needed anymore and the call does
> essentially nothing.  Right Andrew?

they do nothing except verify that no statements are in modified state
when you expect them to be up to date. Since the call use to ensure
stmts were up to date, I left them so we had some level of verification
during the transition.

We could claim the transition is over and eliminate them all now if so
desired. I almost did that when I checked in the original patch.


Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]