diff options
author | Richard Henderson <rth@cygnus.com> | 1999-02-25 15:45:42 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-02-25 15:45:42 -0800 |
commit | e881bb1b1b60bca2b51088b8c6946feb96b0047f (patch) | |
tree | 5f11cf1c6b61122849435f2ab564e45e67595e64 /gcc/jump.c | |
parent | 001e880a269a8b586ee074918b6707edb190ea7c (diff) | |
download | gcc-e881bb1b1b60bca2b51088b8c6946feb96b0047f.zip gcc-e881bb1b1b60bca2b51088b8c6946feb96b0047f.tar.gz gcc-e881bb1b1b60bca2b51088b8c6946feb96b0047f.tar.bz2 |
Flow rewrite to use basic block structures and edge lists.
From-SVN: r25450
Diffstat (limited to 'gcc/jump.c')
-rw-r--r-- | gcc/jump.c | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -3429,6 +3429,24 @@ condjump_label (insn) return NULL_RTX; } +/* Return true if INSN is a (possibly conditional) return insn. */ + +static int +returnjump_p_1 (loc, data) + rtx *loc; + void *data ATTRIBUTE_UNUSED; +{ + rtx x = *loc; + return GET_CODE (x) == RETURN; +} + +int +returnjump_p (insn) + rtx insn; +{ + return for_each_rtx (&PATTERN (insn), returnjump_p_1, NULL); +} + #ifdef HAVE_cc0 /* Return 1 if X is an RTX that does nothing but set the condition codes |