This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: implementing escape analysis
Andrew Haley wrote:
> I agree that doing the job in a langauge-specific way might be a pain
> to start with, but it seems like a better plan in the long term.
>
You mean "language-independent"? I don't think doing this work on the
front end is a good idea. We have fairly strong data and control flow
analysis capabilities at the GIMPLE level. We also have full access to
the front end's type system, via langhooks.