diff options
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/java-tree.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index bdc0aa7bdaf..b96bf14cad7 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2011-05-11 Nathan Froyd <froydnj@codesourcery.com> + + * java-tree.h (TYPE_ARGUMENT_SIGNATURE): Use TYPE_MINVAL. + 2011-05-07 Eric Botcazou <ebotcazou@adacore.com> * java-tree.h (global_bindings_p): Adjust prototype. diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index 7743c6e5c82..700132164ea 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -1331,7 +1331,7 @@ extern tree *type_map; /* If FUNCTION_TYPE or METHOD_TYPE: cache for build_java_argument_signature. */ #define TYPE_ARGUMENT_SIGNATURE(TYPE) \ - (TREE_CHECK2 (TYPE, FUNCTION_TYPE, METHOD_TYPE)->type.minval) + (TYPE_MINVAL (TREE_CHECK2 (TYPE, FUNCTION_TYPE, METHOD_TYPE))) /* Given an array type, give the type of the elements. */ /* FIXME this use of TREE_TYPE conflicts with something or other. */ |