aboutsummaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2007-04-07 23:08:23 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2007-04-07 23:08:23 +0000
commit270c60bb5f93889717d18a7835069897a7ce3e16 (patch)
tree52566fdbb0b084676aa3532c776e0d3c48a44aae /gcc/langhooks.h
parentee57a66148bae672e53312950c296ef81294f064 (diff)
downloadgcc-270c60bb5f93889717d18a7835069897a7ce3e16.zip
gcc-270c60bb5f93889717d18a7835069897a7ce3e16.tar.gz
gcc-270c60bb5f93889717d18a7835069897a7ce3e16.tar.bz2
2007-04-07 Daniel Berlin <dberlin@dberlin.org>
Revert change removing staticp. From-SVN: r123650
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r--gcc/langhooks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h
index 85dbec6..f0220fc 100644
--- a/gcc/langhooks.h
+++ b/gcc/langhooks.h
@@ -324,6 +324,9 @@ struct lang_hooks
successful. */
bool (*mark_addressable) (tree);
+ /* Hook called by staticp for language-specific tree codes. */
+ tree (*staticp) (tree);
+
/* Replace the DECL_LANG_SPECIFIC data, which may be NULL, of the
DECL_NODE with a newly GC-allocated copy. */
void (*dup_lang_specific_decl) (tree);