Commit 0cf4720c by Richard Stallman

(optimize_reg_copy_1): Don't increment n_calls specially if P is a call_insn.

From-SVN: r3948
parent d7889764
...@@ -708,12 +708,6 @@ optimize_reg_copy_1 (insn, dest, src) ...@@ -708,12 +708,6 @@ optimize_reg_copy_1 (insn, dest, src)
int n_calls = 0; int n_calls = 0;
int d_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, /* We can do the optimization. Scan forward from INSN again,
replacing regs as we go. Set FAILED if a replacement can't 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. be done. In that case, we can't move the death note for SRC.
......
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