This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Java inliner
Alexandre Oliva writes:
> On Jul 1, 2002, Andrew Haley <aph@cambridge.redhat.com> wrote:
>
> > Daniel Berlin writes:
>
> >> Is the java inliner usable in languages other than java (IE could we
> >> replace the current c-inliner with your java inliner)?
>
> > No, because C needs the special C tree nodes.
>
> I wonder if, instead of duplicating the code from tree-inline.c and
> then modifying it to suit Java, we wouldn't be better off with an
> #if/#else/#endif (hopefully temporary) mess, so as to avoid divergence
> between these files... Then we'd just compile tree-inline.c with a
> different macro defined to produce the Java inliner object file.
As I said, I did try but halfway through I abandoned it because it was
too untidy. I certainly could try again, though. If that's what it
takes to get a Java inliner...
Andrew.