diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-08 18:52:50 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-08 18:52:50 +0000 |
commit | 8d4720582bffb99c208ac36197170cb7e1aaf741 (patch) | |
tree | 8a51b8ff68c9154a10a841f1ca6d9336c71820cf /gcc/jump.c | |
parent | c77d825d8f9a7d1c18f265f70c2a81467d2e74fc (diff) | |
download | gcc-8d4720582bffb99c208ac36197170cb7e1aaf741.tar.gz |
* jump.c (simplejump_p): Revert last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38806 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/jump.c')
-rw-r--r-- | gcc/jump.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/gcc/jump.c b/gcc/jump.c index 15e41f0266f..ff2ab146d97 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -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 |