rs6000.c (call_ABI_of_interest): Call cgraph_get_create_node instead of cgraph_node.
* config/rs6000/rs6000.c (call_ABI_of_interest): Call cgraph_get_create_node instead of cgraph_node. From-SVN: r172345
This commit is contained in:
parent
44720bef9d
commit
ed940a4ab9
|
@ -1,3 +1,8 @@
|
|||
2011-04-12 Pat Haugen <pthaugen@us.ibm.com>
|
||||
|
||||
* config/rs6000/rs6000.c (call_ABI_of_interest): Call
|
||||
cgraph_get_create_node instead of cgraph_node.
|
||||
|
||||
2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* c-parser.c (c_parser_initelt): Updated call to
|
||||
|
|
|
@ -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_node (fndecl);
|
||||
c_node = cgraph_get_create_node (fndecl);
|
||||
return !cgraph_only_called_directly_p (c_node);
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue