*** empty log message ***
From-SVN: r1332
This commit is contained in:
parent
a4219ac740
commit
944e5f7770
@ -1628,13 +1628,14 @@ libcall_dead_p (x, needed, note, insn)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Return 1 if register REGNO was used before it was set.
|
/* Return 1 if register REGNO was used before it was set.
|
||||||
In other words, if it is live at function entry. */
|
In other words, if it is live at function entry.
|
||||||
|
Don't count global regster variables, though. */
|
||||||
|
|
||||||
int
|
int
|
||||||
regno_uninitialized (regno)
|
regno_uninitialized (regno)
|
||||||
int regno;
|
int regno;
|
||||||
{
|
{
|
||||||
if (n_basic_blocks == 0)
|
if (n_basic_blocks == 0 || global_regs[regno])
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
return (basic_block_live_at_start[0][regno / REGSET_ELT_BITS]
|
return (basic_block_live_at_start[0][regno / REGSET_ELT_BITS]
|
||||||
|
Loading…
Reference in New Issue
Block a user