diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-28 19:05:44 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-28 19:05:44 +0000 |
commit | 231c0441dd3c8a970ba03a5418f76303dfed4db2 (patch) | |
tree | d3d01491f8685328e98111d3666549b0c3f27a74 /gcc/cfgbuild.c | |
parent | a4de1c238b07b6b64d0851c8eb4b601be6cb6bec (diff) | |
download | gcc-231c0441dd3c8a970ba03a5418f76303dfed4db2.tar.gz |
Convert forced_labels from an EXPR_LIST to an INSN_LIST
gcc/
2014-08-28 David Malcolm <dmalcolm@redhat.com>
* function.h (struct expr_status): Convert field "x_forced_labels"
from rtx_expr_list * to rtx_insn_list *.
* cfgbuild.c (make_edges): Convert local "x" from an
rtx_expr_list * to an rtx_insn_list *, replacing use of
"element" method with "insn" method.
* dwarf2cfi.c (create_trace_edges): Likewise for local "lab".
* except.c (sjlj_emit_dispatch_table): Replace use of
gen_rtx_EXPR_LIST with gen_rtx_INSN_LIST when prepending to
forced_labels.
* jump.c (rebuild_jump_labels_1): Convert local "insn" from an
rtx_expr_list * to an rtx_insn_list *, replacing use of
"element" method with "insn" method.
* reload1.c (set_initial_label_offsets): Likewise for local "x".
* stmt.c (label_rtx): Strengthen local "ref" from rtx to
rtx_insn *, adding a checked cast. Replace use of
gen_rtx_EXPR_LIST with gen_rtx_INSN_LIST when prepending it to
forced_labels.
(expand_label): Likewise for local "label_r".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214688 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgbuild.c')
-rw-r--r-- | gcc/cfgbuild.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfgbuild.c b/gcc/cfgbuild.c index d7fa97a3512..475739d7a42 100644 --- a/gcc/cfgbuild.c +++ b/gcc/cfgbuild.c @@ -284,8 +284,8 @@ make_edges (basic_block min, basic_block max, int update_p) everything on the forced_labels list. */ else if (computed_jump_p (insn)) { - for (rtx_expr_list *x = forced_labels; x; x = x->next ()) - make_label_edge (edge_cache, bb, x->element (), EDGE_ABNORMAL); + for (rtx_insn_list *x = forced_labels; x; x = x->next ()) + make_label_edge (edge_cache, bb, x->insn (), EDGE_ABNORMAL); } /* Returns create an exit out. */ |