Commit 343881fd by Maxim Kuvyrkov Committed by Maxim Kuvyrkov

tree.c (type_hash_lookup, [...]): Make static.

	* tree.c (type_hash_lookup, type_hash_add): Make static.
	* tree.h (type_hash_lookup, type_hash_add): Remove global declarations.

From-SVN: r197623
parent 3922658a
2013-04-09 Maxim Kuvyrkov <maxim@kugelworks.com>
* tree.c (type_hash_lookup, type_hash_add): Make static.
* tree.h (type_hash_lookup, type_hash_add): Remove global declarations.
2013-04-09 Richard Biener <rguenther@suse.de>
* tree.h (unsave_expr_now): Remove.
......
......@@ -6293,7 +6293,7 @@ type_hash_hash (const void *item)
/* Look in the type hash table for a type isomorphic to TYPE.
If one is found, return it. Otherwise return 0. */
tree
static tree
type_hash_lookup (hashval_t hashcode, tree type)
{
struct type_hash *h, in;
......@@ -6315,7 +6315,7 @@ type_hash_lookup (hashval_t hashcode, tree type)
/* Add an entry to the type-hash-table
for a type TYPE whose hash code is HASHCODE. */
void
static void
type_hash_add (hashval_t hashcode, tree type)
{
struct type_hash *h;
......
......@@ -5928,8 +5928,6 @@ extern hashval_t iterative_hash_host_wide_int (HOST_WIDE_INT, hashval_t);
extern int compare_tree_int (const_tree, unsigned HOST_WIDE_INT);
extern int type_list_equal (const_tree, const_tree);
extern int chain_member (const_tree, const_tree);
extern tree type_hash_lookup (unsigned int, tree);
extern void type_hash_add (unsigned int, tree);
extern int simple_cst_list_equal (const_tree, const_tree);
extern void dump_tree_statistics (void);
extern void recompute_tree_invariant_for_addr_expr (tree);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment