diff options
author | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-12 10:29:39 +0000 |
---|---|---|
committer | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-12 10:29:39 +0000 |
commit | 7f70d5bcb79832b83da4435efc38aec29623e548 (patch) | |
tree | a04dc3565788ff2e63b0e35430afcd50fda331d1 /gcc/lto-symtab.c | |
parent | 58a7eead24bf7fccd8eef46a8f6487a284c19236 (diff) | |
download | gcc-7f70d5bcb79832b83da4435efc38aec29623e548.tar.gz |
2011-07-12 Martin Jambor <mjambor@suse.cz>
* cgraph.h (cgraph_get_node_or_alias): Removed declaration.
* cgraph.c (cgraph_get_node_or_alias): Removed.
(change_decl_assembler_name): Changed all calls to
cgraph_get_node_or_alias to a call to cgraph_get_node.
(cgraph_make_decl_local): Likewise.
* lto-symtab.c (lto_symtab_resolve_symbols): Likewise.
* varasm.c (default_binds_local_p_1): Likewise.
(decl_binds_to_current_def_p): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176196 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-symtab.c')
-rw-r--r-- | gcc/lto-symtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lto-symtab.c b/gcc/lto-symtab.c index 2bbf064ee7d..3a7c783f770 100644 --- a/gcc/lto-symtab.c +++ b/gcc/lto-symtab.c @@ -438,7 +438,7 @@ lto_symtab_resolve_symbols (void **slot) for (e = (lto_symtab_entry_t) *slot; e; e = e->next) { if (TREE_CODE (e->decl) == FUNCTION_DECL) - e->node = cgraph_get_node_or_alias (e->decl); + e->node = cgraph_get_node (e->decl); else if (TREE_CODE (e->decl) == VAR_DECL) e->vnode = varpool_get_node (e->decl); } |