This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: [PATCH] calls.c: recognize Java calls.



Jason Merrill writes:
> Why not use STRIP_NOPS?

The NOP_EXPR is build to do a type conversion on whatever is used to
perform the function call. STRIP_NOPS will get rid of the new type
we're trying to cast the expression into.

STRIP_TYPE_NOP doesn't work either because it sees that the type is
being altered -- and that's what we want.

./A


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