diff options
author | Richard Henderson <rth@redhat.com> | 2001-01-08 10:52:50 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-01-08 10:52:50 -0800 |
commit | 3c74f8f98730bef1bd3b3ad53c2112fce57f7b72 (patch) | |
tree | 8a51b8ff68c9154a10a841f1ca6d9336c71820cf /gcc/jump.c | |
parent | 674c3b405ce43dae5f198aa418c2349a4988f429 (diff) | |
download | gcc-3c74f8f98730bef1bd3b3ad53c2112fce57f7b72.zip gcc-3c74f8f98730bef1bd3b3ad53c2112fce57f7b72.tar.gz gcc-3c74f8f98730bef1bd3b3ad53c2112fce57f7b72.tar.bz2 |
* jump.c (simplejump_p): Revert last change.
From-SVN: r38806
Diffstat (limited to 'gcc/jump.c')
-rw-r--r-- | gcc/jump.c | 19 |
1 files changed, 4 insertions, 15 deletions
@@ -2163,21 +2163,10 @@ int simplejump_p (insn) rtx insn; { - rtx set; - - if (GET_CODE (insn) != JUMP_INSN) - return 0; - - set = PATTERN (insn); - if (GET_CODE (set) != SET) - { - set = single_set_1 (insn); - if (set == NULL_RTX) - return 0; - } - - return (GET_CODE (SET_DEST (set)) == PC - && GET_CODE (SET_SRC (set)) == LABEL_REF); + return (GET_CODE (insn) == JUMP_INSN + && GET_CODE (PATTERN (insn)) == SET + && GET_CODE (SET_DEST (PATTERN (insn))) == PC + && GET_CODE (SET_SRC (PATTERN (insn))) == LABEL_REF); } /* Return nonzero if INSN is a (possibly) conditional jump |