This is the mail archive of the gcc@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: RFC: Java inliner


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.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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