[PATCH] Make ipa_read_jump_function use ipa_set_jf_* helpers

Jan Hubicka hubicka@ucw.cz
Sun Mar 24 11:12:00 GMT 2013

> 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.


More information about the Gcc-patches mailing list