[PATCH] New predicate covering NOP_EXPR and CONVERT_EXPR

Tom Tromey tromey@redhat.com
Mon Dec 5 17:06:00 GMT 2005


>>>>> "Roger" == Roger Sayle <roger@eyesopen.com> writes:

Roger> If we could get the Java maintainers help with sorting out the
Roger> patch_cast issue, I'd prefer that we make a instantaneous
Roger> surgical change, rather than the churn of a transition via
Roger> NOP_CONVERSION_P.  Perhaps the Java front-end needs a front-end
Roger> tree code to distinguish user casts from the middle-end's
Roger> NOP_EXPRs?

Yeah, I would suggest making a new java-specific tree code that
represents a cast written by the user.  It only has to stick around
for the generating-class-file case.  Another plausible approach would
be a flag on the NOP_EXPR.

Tom



More information about the Java-patches mailing list