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

Andrew MacLeod amacleod@redhat.com
Fri Apr 15 18:25:00 GMT 2005


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



More information about the Gcc-patches mailing list