Commit 3c74f8f9 by Richard Henderson Committed by Richard Henderson

* jump.c (simplejump_p): Revert last change.

From-SVN: r38806
parent 674c3b40
2001-01-08 Richard Henderson <rth@redhat.com>
* jump.c (simplejump_p): Revert last change.
2001-01-08 Neil Booth <neil@daikokuya.demon.co.uk> 2001-01-08 Neil Booth <neil@daikokuya.demon.co.uk>
* cppinit.c (init): Rename init_library. * cppinit.c (init): Rename init_library.
......
...@@ -2163,21 +2163,10 @@ int ...@@ -2163,21 +2163,10 @@ int
simplejump_p (insn) simplejump_p (insn)
rtx insn; rtx insn;
{ {
rtx set; return (GET_CODE (insn) == JUMP_INSN
&& GET_CODE (PATTERN (insn)) == SET
if (GET_CODE (insn) != JUMP_INSN) && GET_CODE (SET_DEST (PATTERN (insn))) == PC
return 0; && GET_CODE (SET_SRC (PATTERN (insn))) == LABEL_REF);
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 nonzero if INSN is a (possibly) conditional jump /* Return nonzero if INSN is a (possibly) conditional jump
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment