Remove not needed xstrdup_for_dump.
authorMartin Liska <mliska@suse.cz>
Tue, 21 Nov 2017 14:59:27 +0000 (15:59 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 21 Nov 2017 14:59:27 +0000 (14:59 +0000)
2017-11-21  Martin Liska  <mliska@suse.cz>

* tree-inline.c (expand_call_inline):
  Remove not needed xstrdup_for_dump.

From-SVN: r255005

gcc/ChangeLog
gcc/tree-inline.c

index 6b4bf875595d1452ff418895e6133713591e8445..35f06c5d3b91ff3666457cf4146c5782f0b6deb4 100644 (file)
@@ -1,3 +1,8 @@
+2017-11-21  Martin Liska  <mliska@suse.cz>
+
+       * tree-inline.c (expand_call_inline):
+         Remove not needed xstrdup_for_dump.
+
 2017-11-21  James Cowgill  <James.Cowgill@imgtec.com>
            Jakub Jelinek  <jakub@redhat.com>
 
index c0dc7b9679f3fa630c2a81d71665a70962167edb..2da1745ede4a4200407ccb48542645b03ae1aa86 100644 (file)
@@ -4674,8 +4674,8 @@ expand_call_inline (basic_block bb, gimple *stmt, copy_body_data *id)
   if (dump_file && (dump_flags & TDF_DETAILS))
     {
       fprintf (dump_file, "Inlining %s to %s with frequency %4.2f\n",
-              xstrdup_for_dump (id->src_node->dump_name ()),
-              xstrdup_for_dump (id->dst_node->dump_name ()),
+              id->src_node->dump_name (),
+              id->dst_node->dump_name (),
               cg_edge->sreal_frequency ().to_double ());
       id->src_node->dump (dump_file);
       id->dst_node->dump (dump_file);