cgraph.c (cgraph_node, [...]): Avoid re-initializing of known_decls.
* cgraph.c (cgraph_node, cgraph_varpool_node): Avoid re-initializing of known_decls. From-SVN: r68573
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
Fri Jun 27 17:41:16 CEST 2003 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* cgraph.c (cgraph_node, cgraph_varpool_node): Avoid re-initializing
|
||||
of known_decls.
|
||||
|
||||
2003-06-27 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* defaults.h (REGISTER_MOVE_COST): Define default here.
|
||||
|
||||
+4
-2
@@ -108,7 +108,8 @@ cgraph_node (decl)
|
||||
if (!cgraph_hash)
|
||||
{
|
||||
cgraph_hash = htab_create (10, hash_node, eq_node, NULL);
|
||||
VARRAY_TREE_INIT (known_decls, 32, "known_decls");
|
||||
if (!known_decls)
|
||||
VARRAY_TREE_INIT (known_decls, 32, "known_decls");
|
||||
}
|
||||
|
||||
slot =
|
||||
@@ -394,7 +395,8 @@ cgraph_varpool_node (tree decl)
|
||||
if (!cgraph_varpool_hash)
|
||||
{
|
||||
cgraph_varpool_hash = htab_create (10, cgraph_varpool_hash_node, eq_cgraph_varpool_node, NULL);
|
||||
VARRAY_TREE_INIT (known_decls, 32, "known_decls");
|
||||
if (!known_decls)
|
||||
VARRAY_TREE_INIT (known_decls, 32, "known_decls");
|
||||
}
|
||||
|
||||
slot =
|
||||
|
||||
Reference in New Issue
Block a user