aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorAlexandre Petit-Bianco <apbianco@redhat.com>2001-09-21 08:58:35 -0700
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>2001-09-21 08:58:35 -0700
commit4bad9e39d1985c1cc951d966104bfe33db631b03 (patch)
tree1dd385a111004f2f27510e3697c07240d8fb652f /gcc/tree.h
parentf62ce55b12b8148b86f6f103179e9e9f3f1054dd (diff)
downloadgcc-4bad9e39d1985c1cc951d966104bfe33db631b03.zip
gcc-4bad9e39d1985c1cc951d966104bfe33db631b03.tar.gz
gcc-4bad9e39d1985c1cc951d966104bfe33db631b03.tar.bz2
stringpool.c (get_identifier_with_length): New function.
2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com> * stringpool.c (get_identifier_with_length): New function. * tree.h (get_identifier_with_length): New prototype. ( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00779.html ) From-SVN: r45731
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index aee8434..fe94fa6 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1990,6 +1990,11 @@ extern tree make_tree_vec PARAMS ((int));
extern tree get_identifier PARAMS ((const char *));
+/* Identical to get_identifier, except that the length is assumed
+ known. */
+
+extern tree get_identifier_with_length PARAMS ((const char *, unsigned int));
+
/* If an identifier with the name TEXT (a null-terminated string) has
previously been referred to, return that node; otherwise return
NULL_TREE. */