diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-25 20:15:36 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-25 20:15:36 +0000 |
commit | 3ffa95c25f3f98adb2a5cdb7419a5ffa1e7bc753 (patch) | |
tree | 32fa4b7ac18f8b0e215b46263ff0a089a70a3487 /gcc/postreload-gcse.c | |
parent | d8ce2eae8471ebabcc3c7c8af1b0b992911543c3 (diff) | |
download | gcc-3ffa95c25f3f98adb2a5cdb7419a5ffa1e7bc753.zip gcc-3ffa95c25f3f98adb2a5cdb7419a5ffa1e7bc753.tar.gz gcc-3ffa95c25f3f98adb2a5cdb7419a5ffa1e7bc753.tar.bz2 |
Convert edge_def.insns.r to rtx_insn *
gcc/
* basic-block.h (struct edge_def). Strengthen "r" within
union edge_def_insns from rtx to rtx_insn *.
* cfgexpand.c (pass_expand::execute): Remove now-redundant cast
from rtx to rtx_insn *. Strengthen local "insns" from rtx to
rtx_insn *.
* cfgrtl.c (commit_one_edge_insertion): Remove now-redundant cast
from rtx to rtx_insn *.
* cprop.c (find_bypass_set): Strengthen local "insn" from rtx to
rtx_insn *.
* postreload-gcse.c (reg_killed_on_edge): Likewise.
(reg_used_on_edge): Likewise.
* tree-cfg.c (gt_ggc_mx): New overload for rtx_insn *&.
(gt_pch_nx): New overload for rtx_insn *&.
* tree-outof-ssa.c (expand_phi_nodes): Strengthen local "insns"
from rtx to rtx_insn *.
From-SVN: r214471
Diffstat (limited to 'gcc/postreload-gcse.c')
-rw-r--r-- | gcc/postreload-gcse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/postreload-gcse.c b/gcc/postreload-gcse.c index e8f0408..9c7b07f 100644 --- a/gcc/postreload-gcse.c +++ b/gcc/postreload-gcse.c @@ -860,7 +860,7 @@ compute_hash_table (void) static bool reg_killed_on_edge (rtx reg, edge e) { - rtx insn; + rtx_insn *insn; for (insn = e->insns.r; insn; insn = NEXT_INSN (insn)) if (INSN_P (insn) && reg_set_p (reg, insn)) @@ -877,7 +877,7 @@ reg_killed_on_edge (rtx reg, edge e) static bool reg_used_on_edge (rtx reg, edge e) { - rtx insn; + rtx_insn *insn; for (insn = e->insns.r; insn; insn = NEXT_INSN (insn)) if (INSN_P (insn) && reg_overlap_mentioned_p (reg, PATTERN (insn))) |