OSDN Git Service

* tree-dfa.c (referenced_var_lookup_if_exists): Remove.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Mar 2006 17:29:15 +0000 (17:29 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Mar 2006 17:29:15 +0000 (17:29 +0000)
* tree-flow.h: Remove the prototype for
referenced_var_lookup_if_exists.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111680 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-dfa.c
gcc/tree-flow.h

index 4312f1f..a07aff9 100644 (file)
@@ -1,3 +1,9 @@
+2006-03-03  Kazu Hirata  <kazu@codesourcery.com>
+
+       * tree-dfa.c (referenced_var_lookup_if_exists): Remove.
+       * tree-flow.h: Remove the prototype for
+       referenced_var_lookup_if_exists.
+
 2006-03-03  Steve Ellcey  <sje@cup.hp.com>
 
        PR rtl-optimization/26345
index 27f51de..9ff2bd5 100644 (file)
@@ -626,20 +626,6 @@ find_vars_r (tree *tp, int *walk_subtrees, void *data)
 
 
 /* Lookup UID in the referenced_vars hashtable and return the associated
-   variable or NULL if it is not there.  */
-
-tree 
-referenced_var_lookup_if_exists (unsigned int uid)
-{
-  struct int_tree_map *h, in;
-  in.uid = uid;
-  h = (struct int_tree_map *) htab_find_with_hash (referenced_vars, &in, uid);
-  if (h)
-    return h->to;
-  return NULL_TREE;
-}
-
-/* Lookup UID in the referenced_vars hashtable and return the associated
    variable.  */
 
 tree 
index 1aad272..3b858e6 100644 (file)
@@ -393,7 +393,6 @@ extern GTY((param_is (struct int_tree_map))) htab_t referenced_vars;
 extern GTY((param_is (struct int_tree_map))) htab_t default_defs;
 
 extern tree referenced_var_lookup (unsigned int);
-extern tree referenced_var_lookup_if_exists (unsigned int);
 #define num_referenced_vars htab_elements (referenced_vars)
 #define referenced_var(i) referenced_var_lookup (i)