Commit 8abd2cbe by Nathan Froyd Committed by Nathan Froyd

* expr.c (pop_arguments): Fix use of undeclared variable.

From-SVN: r159555
parent 39b27b3a
2010-05-18 Nathan Froyd <froydnj@codesourcery.com> 2010-05-18 Nathan Froyd <froydnj@codesourcery.com>
* expr.c (pop_arguments): Fix use of undeclared variable.
2010-05-18 Nathan Froyd <froydnj@codesourcery.com>
* expr.c (expand_java_multianewarray): Use build_call_vec instead of * expr.c (expand_java_multianewarray): Use build_call_vec instead of
build_call_list. build_call_list.
(pop_arguments): Return a VEC instead of a tree. Take a method type (pop_arguments): Return a VEC instead of a tree. Take a method type
......
...@@ -1949,7 +1949,7 @@ pop_arguments (tree method_type) ...@@ -1949,7 +1949,7 @@ pop_arguments (tree method_type)
VEC_safe_push (tree, gc, args, type); VEC_safe_push (tree, gc, args, type);
} }
arity = VEC_length (tree, typestack); arity = VEC_length (tree, args);
while (arity--) while (arity--)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment