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]

[patch] disintegrate integrate.[ch]


Hello,

The old RTL inliner, integrate.c, now only contains a few functions
for initial-value pairs, and a few functions related to inlining.

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.

Bootstrapped and regtested on powerpc-unknown-linux-gnu. OK?

Ciao!
Steven

Attachment: disintegrate_integrate.diff
Description: Binary data


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