RFC: Java inliner
Mon Jul 1 11:58:00 GMT 2002
Daniel Berlin writes:
> On Mon, 1 Jul 2002, Andrew Haley wrote:
> > Mark Mitchell writes:
> > >
> > > The current inliner already has mechanisms for language-specific
> > > extensions. If those can be used, or it can be easily extended so that
> > > they can be used, great.
> > Well I tried, I really did. But the inliner we have at the moment
> > uses C-private tree nodes to such an extent that I think it isn't
> > possible without totally messing up the code. I could replace every
> > occurrence of these nodes with macros or function pointers, but the
> > result would not be pretty. The real answer in the long term is, of
> > course, SIMPLE.
> 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.
> Or did you do the same thing, and create java specific nodes?
We use only the standard nodes. However, the way we interpret a
couple of these nodes, such as BLOCK, is Java specific.
More information about the Java