[patch] disintegrate integrate.[ch]

Eric Botcazou ebotcazou@adacore.com
Tue May 29 06:46:00 GMT 2012


> The attached patch moves the code from integrate.c to (what I hope you
> agree to be) better places:
>
> * inliner code goes to tree-inline.c
> * functions only called from dwarf2out.c are moved there.
> * allocate_initial_values is moved to ira.c
> * the initial-value stuff is moved to function.c
>
> The rest is just mechanical updates: Don't include integrate.h
> anywhere, and include function.h if something is needed from there.
>
> The files integrate.c and integrate.h can be removed after this change.

Please just drop the reference to integrate.c in expmed.c, there will be no 
point in keeping it after the remnants of the old inliner are eliminated.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list