(find_reg): Add comment about nonlocal labels.

From-SVN: r3284
This commit is contained in:
Richard Kenner 1993-01-19 18:24:27 -05:00
parent e19f519283
commit cfcf04a6ba
1 changed files with 5 additions and 1 deletions

View File

@ -1040,7 +1040,11 @@ find_reg (allocno, losers, alt_regs_p, accept_call_clobbered, retrying)
}
no_prefs:
/* If we haven't succeeded yet, try with caller-saves. */
/* If we haven't succeeded yet, try with caller-saves.
We need not check to see if the current function has nonlocal
labels because we don't put any pseudos that are live over calls in
registers in that case. */
if (flag_caller_saves && best_reg < 0)
{
/* Did not find a register. If it would be profitable to