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: Inliner for Java


On Friday, August 9, 2002, at 07:46 AM, Jeff Sturm wrote:
d) no inlining across translation units

I don't know what is needed for d).
Many years ago I had a cross translation unit inliner (for C and/or C++) that used something akin to PFE. The easiest way to make this work is to use PFE. PFE can be thought of as allocating trees/rtl in a mmaped file. This file persists across compilation units rather trivially. You can store anything you want in there, say, all the inline function definitions for your entire program. If you expose the FUNCTION_DECLs from one unit to another, presto, cross unit inlining.


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