tree-dfa.c (referenced_var_lookup_if_exists): Remove.

* tree-dfa.c (referenced_var_lookup_if_exists): Remove.
	* tree-flow.h: Remove the prototype for
	referenced_var_lookup_if_exists.

From-SVN: r111680
This commit is contained in:
Kazu Hirata 2006-03-03 17:29:15 +00:00 committed by Kazu Hirata
parent f6d65153a6
commit 417e90cada
3 changed files with 6 additions and 15 deletions

View 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

View File

@ -625,20 +625,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. */

View 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)