2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-13 12:11:08 +08:00

rs6000.c (call_ABI_of_interest): Call cgraph_get_node instead of cgraph_get_create_node.

* config/rs6000/rs6000.c (call_ABI_of_interest): Call
        cgraph_get_node instead of cgraph_get_create_node.

From-SVN: r172520
This commit is contained in:
Pat Haugen 2011-04-15 20:54:18 +00:00 committed by Pat Haugen
parent a6de01a6dd
commit eb229cf45a
2 changed files with 6 additions and 1 deletions
gcc
ChangeLog
config/rs6000

@ -1,3 +1,8 @@
2011-04-15 Pat Haugen <pthaugen@us.ibm.com>
* config/rs6000/rs6000.c (call_ABI_of_interest): Call
cgraph_get_node instead of cgraph_get_create_node.
2011-04-15 Jakub Jelinek <jakub@redhat.com>
* cfgexpand.c (expand_debug_expr): Use

@ -7976,7 +7976,7 @@ call_ABI_of_interest (tree fndecl)
return true;
/* Interesting functions that we are emitting in this object file. */
c_node = cgraph_get_create_node (fndecl);
c_node = cgraph_get_node (fndecl);
return !cgraph_only_called_directly_p (c_node);
}
return false;