diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-18 22:34:20 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-18 22:34:20 +0000 |
commit | f707dbf28259fca800a0274be2156b98dfafb4ba (patch) | |
tree | bd2c0ac5b9f3bfcfe1cd139e817fd1bdd37b3dc2 /gcc/cfgcleanup.c | |
parent | 4caa70395ed1974c2f7da48577c7a76462f74eee (diff) | |
download | gcc-f707dbf28259fca800a0274be2156b98dfafb4ba.tar.gz |
* cfgcleanup.c (flow_find_cross_jump): Use INSN_P,not active_insn_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65797 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r-- | gcc/cfgcleanup.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c index 8ca6c41c3f2..c9e64ed1b48 100644 --- a/gcc/cfgcleanup.c +++ b/gcc/cfgcleanup.c @@ -1044,10 +1044,10 @@ flow_find_cross_jump (mode, bb1, bb2, f1, f2) while (true) { /* Ignore notes. */ - while (!active_insn_p (i1) && i1 != bb1->head) + while (!INSN_P (i1) && i1 != bb1->head) i1 = PREV_INSN (i1); - while (!active_insn_p (i2) && i2 != bb2->head) + while (!INSN_P (i2) && i2 != bb2->head) i2 = PREV_INSN (i2); if (i1 == bb1->head || i2 == bb2->head) @@ -1056,8 +1056,8 @@ flow_find_cross_jump (mode, bb1, bb2, f1, f2) if (!insns_match_p (mode, i1, i2)) break; - /* Don't begin a cross-jump with a USE or CLOBBER insn. */ - if (active_insn_p (i1)) + /* Don't begin a cross-jump with a NOTE insn. */ + if (INSN_P (i1)) { /* If the merged insns have different REG_EQUAL notes, then remove them. */ @@ -1096,13 +1096,13 @@ flow_find_cross_jump (mode, bb1, bb2, f1, f2) Two, it keeps line number notes as matched as may be. */ if (ninsns) { - while (last1 != bb1->head && !active_insn_p (PREV_INSN (last1))) + while (last1 != bb1->head && !INSN_P (PREV_INSN (last1))) last1 = PREV_INSN (last1); if (last1 != bb1->head && GET_CODE (PREV_INSN (last1)) == CODE_LABEL) last1 = PREV_INSN (last1); - while (last2 != bb2->head && !active_insn_p (PREV_INSN (last2))) + while (last2 != bb2->head && !INSN_P (PREV_INSN (last2))) last2 = PREV_INSN (last2); if (last2 != bb2->head && GET_CODE (PREV_INSN (last2)) == CODE_LABEL) |