[Java PATCH] An attempt at removing a "Gross hack"

Jeff Sturm jsturm@one-point.com
Mon Jul 21 16:23:00 GMT 2003


On Mon, 21 Jul 2003, S. Bosscher wrote:
> No failures, this is a cleanup that I thought we would we need to get rid of
> flag_inline_trees.  Zack and I had an almost identical patch for that,
> introducing a langhook that tells the middle end if the language uses the
> rtl inliner or the tree inliner.

Oh, I see.  But as you found out...

> Both patches fail miserably with Java,
> which apparently sometimes uses rtl inlining, and sometimes tree inlining.

...right, the bytecode frontend still uses rtl inlining.  Plus, a single
invocation of jc1 may need both, since it's legal to compile a class file
together with java source at once.

I'm also readying a patch for unit-at-a-time which might add a wrinkle.  I
believe Andrew's working on converting the bytecode reader to
functions-as-trees.  That might be worth having for 3.4.

Jeff



More information about the Java-patches mailing list