]> gcc.gnu.org Git - gcc.git/commitdiff
reg-stack.c (stack_reg_life_analysis): Use returnjump_p instead of an explicit test...
authorRichard Henderson <rth@cygnus.com>
Tue, 9 Mar 1999 11:36:25 +0000 (03:36 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 9 Mar 1999 11:36:25 +0000 (03:36 -0800)
        * reg-stack.c (stack_reg_life_analysis): Use returnjump_p
        instead of an explicit test for RETURN.

From-SVN: r25652

gcc/ChangeLog
gcc/reg-stack.c

index 154bbc05dedc3b25bee2c7e28ef2e29afc953c33..a17aa87c895f8bf26cc6c03bcb3b7b1fa5a44d65 100644 (file)
@@ -1,3 +1,8 @@
+Tue Mar  9 11:35:20 1999  Richard Henderson  <rth@cygnus.com>
+
+       * 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  <ghazi@caip.rutgers.edu>
 
        * Makefile.in (toplev.o): Depend on $(BASIC_BLOCK_H).
index 203e1af6007c3a7e6015c5d6737e9660197b3f6e..014f95240134c9b16ec69e92f281f94396199196 100644 (file)
@@ -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
This page took 0.080595 seconds and 5 git commands to generate.