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