gcc/
2014-08-27 David Malcolm <dmalcolm@redhat.com>
* jump.c (mark_jump_label_1): Within the SEQUENCE case, introduce
local "seq" with a checked cast, and use methods of rtx_sequence
to clarify the code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214596
138bc75d-0d04-0410-961f-
82ee72b054a4
+2014-08-27 David Malcolm <dmalcolm@redhat.com>
+
+ * jump.c (mark_jump_label_1): Within the SEQUENCE case, introduce
+ local "seq" with a checked cast, and use methods of rtx_sequence
+ to clarify the code.
+
2014-08-27 David Malcolm <dmalcolm@redhat.com>
* function.c (contains): Introduce local "seq" for PATTERN (insn),
break;
case SEQUENCE:
- for (i = 0; i < XVECLEN (x, 0); i++)
- mark_jump_label (PATTERN (XVECEXP (x, 0, i)),
- XVECEXP (x, 0, i), 0);
+ {
+ rtx_sequence *seq = as_a <rtx_sequence *> (x);
+ for (i = 0; i < seq->len (); i++)
+ mark_jump_label (PATTERN (seq->insn (i)),
+ seq->insn (i), 0);
+ }
return;
case SYMBOL_REF: