aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2004-06-06 15:03:08 +0200
committerEric Botcazou <ebotcazou@gcc.gnu.org>2004-06-06 13:03:08 +0000
commit2ddbba8007ac79d2f61fb8c02dd1a04d3c14d098 (patch)
tree8a3339eea322b5b8223c20d2fbdb72d242f431ad /gcc/cgraphunit.c
parent5e2f3f396b47642ddd234d8d443648289b8a8772 (diff)
downloadgcc-2ddbba8007ac79d2f61fb8c02dd1a04d3c14d098.zip
gcc-2ddbba8007ac79d2f61fb8c02dd1a04d3c14d098.tar.gz
gcc-2ddbba8007ac79d2f61fb8c02dd1a04d3c14d098.tar.bz2
cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in always_inline pass.
* cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in always_inline pass. From-SVN: r82668
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index cbb924c..80fe8ce 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -1482,7 +1482,7 @@ cgraph_decide_inlining (void)
if (cgraph_dump_file)
fprintf (cgraph_dump_file,
"\nConsidering %s %i insns (always inline)\n",
- cgraph_node_name (e->callee), e->callee->global.insns);
+ cgraph_node_name (node), node->global.insns);
old_insns = overall_insns;
for (e = node->callers; e; e = next)
{
@@ -1496,8 +1496,8 @@ cgraph_decide_inlining (void)
if (cgraph_dump_file)
fprintf (cgraph_dump_file,
" Inlined into %s which now has %i insns.\n",
- cgraph_node_name (node->callees->caller),
- node->callees->caller->global.insns);
+ cgraph_node_name (e->caller),
+ e->caller->global.insns);
}
if (cgraph_dump_file)
fprintf (cgraph_dump_file,