PR 1159/1412

Per Bothner per@bothner.com
Wed Mar 21 09:46:00 GMT 2001


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/



More information about the Java mailing list