diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2014-05-27 06:18:38 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2014-05-27 04:18:38 +0000 |
commit | 50efcce1d5ea69be69e39048d9649264ddcd7361 (patch) | |
tree | d8f2d6ee50de4a3d7d6e80c118985acd5c7adfcf /gcc/cgraph.h | |
parent | 48f5146b1ad1bb76b1c4dd5b79c67a8479056916 (diff) | |
download | gcc-50efcce1d5ea69be69e39048d9649264ddcd7361.zip gcc-50efcce1d5ea69be69e39048d9649264ddcd7361.tar.gz gcc-50efcce1d5ea69be69e39048d9649264ddcd7361.tar.bz2 |
tree.h (decl_comdat_group): Declare.
* tree.h (decl_comdat_group): Declare.
* cgraph.h (symtab_in_same_comdat_p): Move offline to ...
* tree.c (decl_comdat_group): Here.
From-SVN: r210956
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 91bcc00..8556e2d 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -1621,14 +1621,4 @@ symtab_in_same_comdat_p (symtab_node *one, symtab_node *two) return one->get_comdat_group () == two->get_comdat_group (); } - -/* Return comdat group of DECL. */ -static inline tree -decl_comdat_group (tree node) -{ - struct symtab_node *snode = symtab_get_node (node); - if (!snode) - return NULL; - return snode->get_comdat_group (); -} #endif /* GCC_CGRAPH_H */ |