* tree.h (is_lang_specific): Constify.

From-SVN: r222981
This commit is contained in:
Jan Hubicka 2015-05-10 16:20:09 +02:00 committed by Jan Hubicka
parent 9a22098d4d
commit e3855ed21a
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
2015-05-09 Jan Hubicka <hubicka@ucw.cz>
* tree.c (verify_type): Verify TYPE_BINFO and TYPE_VALUES_RAW.
* tree.h (is_lang_specific): Constify.
2015-05-09 Marc Glisse <marc.glisse@inria.fr>

View File

@ -4621,7 +4621,7 @@ more_call_expr_args_p (const call_expr_arg_iterator *iter)
/* Return true if tree node T is a language-specific node. */
static inline bool
is_lang_specific (tree t)
is_lang_specific (const_tree t)
{
return TREE_CODE (t) == LANG_TYPE || TREE_CODE (t) >= NUM_TREE_CODES;
}