summaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-07 23:08:23 +0000
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-07 23:08:23 +0000
commitcf48439062da095caf46e3cbf672f3e3460543f8 (patch)
tree52566fdbb0b084676aa3532c776e0d3c48a44aae /gcc/langhooks.h
parent4704b74336299aa76d106eb0b79897ee915c85cf (diff)
downloadgcc-cf48439062da095caf46e3cbf672f3e3460543f8.tar.gz
2007-04-07 Daniel Berlin <dberlin@dberlin.org>
Revert change removing staticp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123650 138bc75d-0d04-0410-961f-82ee72b054a4
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 85dbec6bb4e..f0220fc91c3 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);