Re: [PATCH][JAVA] Build a correct tree for rewritten method invocations

2011-08-03 Thread Tom Tromey
> "Peter" == Peter Collingbourne writes: Peter> 2011-08-02 Peter Collingbourne Peter> * expr.c (expand_invoke) Use the type of the method rewrite target. Ok. Tom

[PATCH][JAVA] Build a correct tree for rewritten method invocations

2011-08-02 Thread Peter Collingbourne
The Java frontend currently produces an incorrectly typed tree if a method call is rewritten. Specifically, the callee operand is a NOP_EXPR casting the address of the target method to the original method type. This patch causes the NOP_EXPR cast to use the type of the target method instead. The