(rs6000_makes_calls): If profiling, say we make calls.
From-SVN: r4467
This commit is contained in:
parent
81d3c53859
commit
0c61c94649
@ -1240,6 +1240,10 @@ rs6000_makes_calls ()
|
||||
{
|
||||
rtx insn;
|
||||
|
||||
/* If we are profiling, we will be making a call to mcount. */
|
||||
if (profile_flag)
|
||||
return 1;
|
||||
|
||||
for (insn = get_insns (); insn; insn = next_insn (insn))
|
||||
if (GET_CODE (insn) == CALL_INSN)
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user