aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/powerpcspe
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2018-06-08 15:30:41 +0200
committerMartin Liska <marxin@gcc.gnu.org>2018-06-08 13:30:41 +0000
commitd0765b25af01c746de09c92b8eacb3ecf726830e (patch)
treec9806e08c289cd78d86b7b38eb12343dd548ae80 /gcc/config/powerpcspe
parent4af78ef8695b08bd9b7061b350631d2ca5682470 (diff)
downloadgcc-d0765b25af01c746de09c92b8eacb3ecf726830e.zip
gcc-d0765b25af01c746de09c92b8eacb3ecf726830e.tar.gz
gcc-d0765b25af01c746de09c92b8eacb3ecf726830e.tar.bz2
PPC: remove usage of cgraph_node::instrumentation_clone and cgraph_node::instrumented_version.
2018-06-08 Martin Liska <mliska@suse.cz> * config/powerpcspe/powerpcspe.c (rs6000_xcoff_visibility): Remove usage of MPX-related (and removed) fields. * config/rs6000/rs6000.c (rs6000_xcoff_visibility): Likewise. From-SVN: r261326
Diffstat (limited to 'gcc/config/powerpcspe')
-rw-r--r--gcc/config/powerpcspe/powerpcspe.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/config/powerpcspe/powerpcspe.c b/gcc/config/powerpcspe/powerpcspe.c
index b500cd3..f67505a 100644
--- a/gcc/config/powerpcspe/powerpcspe.c
+++ b/gcc/config/powerpcspe/powerpcspe.c
@@ -37119,13 +37119,6 @@ rs6000_xcoff_visibility (tree decl)
};
enum symbol_visibility vis = DECL_VISIBILITY (decl);
-
- if (TREE_CODE (decl) == FUNCTION_DECL
- && cgraph_node::get (decl)
- && cgraph_node::get (decl)->instrumentation_clone
- && cgraph_node::get (decl)->instrumented_version)
- vis = DECL_VISIBILITY (cgraph_node::get (decl)->instrumented_version->decl);
-
return visibility_types[vis];
}
#endif