2011-08-18 Peter Collingbourne <peter@pcc.me.uk>
* expr.c (expand_invoke) Use the type of the method rewrite target. From-SVN: r177862
This commit is contained in:
parent
f44157f84b
commit
901ebcdf97
|
@ -1,3 +1,8 @@
|
||||||
|
2011-08-18 Peter Collingbourne <peter@pcc.me.uk>
|
||||||
|
|
||||||
|
* expr.c (expand_invoke) Use the type of the method rewrite
|
||||||
|
target.
|
||||||
|
|
||||||
2011-08-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
2011-08-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||||
|
|
||||||
* jcf-dump.c (print_constant): Cast first frexp arg.
|
* jcf-dump.c (print_constant): Cast first frexp arg.
|
||||||
|
|
|
@ -2544,12 +2544,12 @@ expand_invoke (int opcode, int method_ref_index, int nargs ATTRIBUTE_UNUSED)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
method_type = TREE_TYPE (method);
|
arg_list = pop_arguments (TREE_TYPE (method));
|
||||||
arg_list = pop_arguments (method_type);
|
|
||||||
flush_quick_stack ();
|
flush_quick_stack ();
|
||||||
|
|
||||||
maybe_rewrite_invocation (&method, &arg_list, &method_signature,
|
maybe_rewrite_invocation (&method, &arg_list, &method_signature,
|
||||||
&special);
|
&special);
|
||||||
|
method_type = TREE_TYPE (method);
|
||||||
|
|
||||||
func = NULL_TREE;
|
func = NULL_TREE;
|
||||||
if (opcode == OPCODE_invokestatic)
|
if (opcode == OPCODE_invokestatic)
|
||||||
|
|
Loading…
Reference in New Issue