Commit 4cceafb8 by Jan Hubicka Committed by Jan Hubicka

* varpool.c (varpool_get_node): Fix lookup.

From-SVN: r160024
parent 1a86e236
2010-05-29 Jan Hubicka <jh@suse.cz>
* varpool.c (varpool_get_node): Fix lookup.
2010-05-29 Steven Bosscher <steven@gcc.gnu.org>
* config/spu/spu-protos.h: Do not include rtl.h. Protect
......
......@@ -117,7 +117,9 @@ varpool_get_node (tree decl)
return NULL;
key.decl = decl;
slot = (struct varpool_node **)
htab_find_slot (varpool_hash, &key, INSERT);
htab_find_slot (varpool_hash, &key, NO_INSERT);
if (!slot)
return NULL;
return *slot;
}
......
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