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] Allow passmanager to switch between IPA and local passes


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.


r~


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