aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2010-05-19 01:15:43 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2010-05-19 01:15:43 +0000
commit8abd2cbee209b2db1252d82bd3fb3908489df71f (patch)
treeae0bfbb5332e41a0800e914a01656855be3b39d1 /gcc/java/expr.c
parent39b27b3a47310b99510dd1124a75c5b7f65bb82a (diff)
downloadgcc-8abd2cbee209b2db1252d82bd3fb3908489df71f.zip
gcc-8abd2cbee209b2db1252d82bd3fb3908489df71f.tar.gz
gcc-8abd2cbee209b2db1252d82bd3fb3908489df71f.tar.bz2
* expr.c (pop_arguments): Fix use of undeclared variable.
From-SVN: r159555
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r--gcc/java/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index 5eacd64..177a038 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -1949,7 +1949,7 @@ pop_arguments (tree method_type)
VEC_safe_push (tree, gc, args, type);
}
- arity = VEC_length (tree, typestack);
+ arity = VEC_length (tree, args);
while (arity--)
{