This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


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

Re: PR 1159/1412


Andrew Haley <aph@cambridge.redhat.com> writes:

> Constant folding.  However, we can't do this on bytecode until we have
> a version of fold() that obeys Java semantics.

I missed the specifics of this problem.  Could you summarize?

A simple version of constant-folding can probably be made part
of java_complete_lhs fairly easily.  Fancier optimizations
may be more painful.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/


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