Use rtx_jump_table_data in jump.c:delete_related_insns
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 5 Sep 2014 13:58:29 +0000 (13:58 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 5 Sep 2014 13:58:29 +0000 (13:58 +0000)
commit75677a6759750582b0aa92b3409d0061b4f66739
tree6cb50cacb39e660c495147b9a1c7f753bf05b947
parent35b5c75197e5b3a2d8317b7fdf7c7eb33994f6d0
Use rtx_jump_table_data in jump.c:delete_related_insns

gcc/ChangeLog
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* jump.c (delete_related_insns): Introduce a new local "table" by
replacing JUMP_TABLE_DATA_P with a dyn_cast, then use the
get_labels method of "table" to simplify access to the labels in
the jump table.

From-SVN: r214960
gcc/ChangeLog
gcc/jump.c