sel-sched-ir.c (get_seqno_of_a_pred): Rename to get_seqno_for_a_jump.
authorSergey Grechanik <mouseentity@ispras.ru>
Thu, 11 Aug 2011 11:50:27 +0000 (11:50 +0000)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Thu, 11 Aug 2011 11:50:27 +0000 (15:50 +0400)
commit0d9439b07cce79ee8e822481f75331dc70399826
treecbe8ad3a6a9c34b18d7bef9e1bef3a4bef007976
parent5c416724e03238da11ea0d37e029ccd25824fa18
sel-sched-ir.c (get_seqno_of_a_pred): Rename to get_seqno_for_a_jump.

2011-08-11  Sergey Grechanik  <mouseentity@ispras.ru>

* sel-sched-ir.c (get_seqno_of_a_pred): Rename to
get_seqno_for_a_jump.  Update the caller.
(get_seqno_by_succs): New.  Use it ...
(get_seqno_for_a_jump): ... here to find a seqno if looking at
predecessors was not sufficient.
(get_seqno_by_preds): Include head in iteration range, exclude insn.

From-SVN: r177656
gcc/ChangeLog
gcc/sel-sched-ir.c