[PATCH] Allow passmanager to switch between IPA and local passes

Jan Hubicka jh@suse.cz
Fri Jun 17 09:13:00 GMT 2005


> On Fri, Jun 17, 2005 at 11:00:17AM +0200, Jan Hubicka wrote:
> > ! 	  if (cfun)
> > ! 	    execute_pass_list (pass->sub);
> > ! 	  else
> > ! 	    execute_local_passes (pass->sub);
> 
> Why have you not moved the entire cfun check out too?  It's not like
> cfun changes in any of these passes.  And it's not like the balance
> of execute_pass_list isn't just 3 lines.

Hmm, I guess I get it.  You want me to have separate
execute_ipa_pass_list that will do the same as execute_pass_list
and will be called from ipa_passes, right?
I am going to make updated patch in momentarity...

Honza
> 
> 
> r~



More information about the Gcc-patches mailing list