what optimizations are invalid in java?

Tom Tromey tromey@redhat.com
Wed Mar 13 07:55:00 GMT 2002


>>>>> "Jan" == Jan Hubicka <jh@suse.cz> writes:

Jan> fold_const: We can remove dead parts of expresisons poossibly eliminating
Jan> trap.
Jan> Code not executed is unreachable, dead code is code executed but
Jan> with void results. In fold const we can delete as dead for
Jan> instance (a/b)*0 that may trap in case b is 0.
Thanks. In that case I think we can only remove dead code that is
known not to generate an exception.
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /