diff options
Diffstat (limited to 'gcc/lto/lto-symtab.c')
-rw-r--r-- | gcc/lto/lto-symtab.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/lto/lto-symtab.c b/gcc/lto/lto-symtab.c index 3663ab7..b1df9bb 100644 --- a/gcc/lto/lto-symtab.c +++ b/gcc/lto/lto-symtab.c @@ -89,21 +89,6 @@ lto_cgraph_replace_node (struct cgraph_node *node, } /* Redirect incomming references. */ prevailing_node->clone_referring (node); - - /* Fix instrumentation references. */ - if (node->instrumented_version) - { - gcc_assert (node->instrumentation_clone - == prevailing_node->instrumentation_clone); - node->instrumented_version->instrumented_version = prevailing_node; - if (!prevailing_node->instrumented_version) - prevailing_node->instrumented_version = node->instrumented_version; - /* Need to reset node->instrumented_version to NULL, - otherwise node removal code would reset - node->instrumented_version->instrumented_version. */ - node->instrumented_version = NULL; - } - lto_free_function_in_decl_state_for_node (node); if (node->decl != prevailing_node->decl) |