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] Make ipa_read_jump_function use ipa_set_jf_* helpers


> Hi,
> 
> the following patch makes ipa_read_jump_function use the helper
> functions to set up jump functions instead of doing it itself.  The
> main reason is that I plan to add some less-trivial code to one of the
> helpers but setting the functions always in one place is a good idea
> anyway.
> 
> Because there are two types of pass-through functions (NOP and
> arithmetic) with two helpers to set them up, we also stream the two in
> separate ways with the added benefit of streaming slightly less.
> 
> Bootstrapped and tested on x86_64-linux where it also passes LTO
> bootstrap.  OK for trunk?
> 
> Thanks,
> 
> Martin
> 
> 
> 2013-03-20  Martin Jambor  <mjambor@suse.cz>
> 
> 	* ipa-prop.c (ipa_write_jump_function): Stream simple and aritmetic
> 	pass-through jump functions differently.
> 	(ipa_read_jump_function): Likewise.  Also use setter functions to set
> 	up jump functions.

OK,
thanks!
Honza


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