From: Richard Henderson Date: Tue, 9 Mar 1999 11:36:25 +0000 (-0800) Subject: reg-stack.c (stack_reg_life_analysis): Use returnjump_p instead of an explicit test... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=91e1a7f5aaa8b2172c09642ed7944024c86c69c8;p=gcc.git reg-stack.c (stack_reg_life_analysis): Use returnjump_p instead of an explicit test for RETURN. * reg-stack.c (stack_reg_life_analysis): Use returnjump_p instead of an explicit test for RETURN. From-SVN: r25652 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 154bbc05ded..a17aa87c895 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Mar 9 11:35:20 1999 Richard Henderson + + * reg-stack.c (stack_reg_life_analysis): Use returnjump_p + instead of an explicit test for RETURN. + Tue Mar 9 09:33:16 1999 Kaveh R. Ghazi * Makefile.in (toplev.o): Depend on $(BASIC_BLOCK_H). diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index 203e1af6007..014f9524013 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -1199,7 +1199,7 @@ stack_reg_life_analysis (first, stackentry) for (block = blocks - 1; --block >= 0;) if (GET_CODE (block_end[block]) == JUMP_INSN - && GET_CODE (PATTERN (block_end[block])) == RETURN) + && returnjump_p (block_end[block])) mark_regs_pat (retvalue, block_out_reg_set+block); /* Mark off the end of last block if we "fall off" the end of the