OSDN Git Service

(optimize_reg_copy_1): Don't increment n_calls specially if P is a call_insn.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 1993 08:31:13 +0000 (08:31 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 1993 08:31:13 +0000 (08:31 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3948 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/local-alloc.c

index dba5fe5..4018181 100644 (file)
@@ -708,12 +708,6 @@ optimize_reg_copy_1 (insn, dest, src)
          int n_calls = 0;
          int d_n_calls = 0;
 
-         /* If P is a CALL_INSN, SRC crosses one more call, since it
-            used to die there.  */
-
-         if (GET_CODE (p) == CALL_INSN)
-           n_calls++;
-
          /* We can do the optimization.  Scan forward from INSN again,
             replacing regs as we go.  Set FAILED if a replacement can't
             be done.  In that case, we can't move the death note for SRC.