diff options
author | Richard Stallman <rms@gnu.org> | 1993-03-31 08:31:13 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-03-31 08:31:13 +0000 |
commit | 0cf4720c583685a57ce812caf0d92b8dd487e3e4 (patch) | |
tree | 93c602384c20ab5ad78ca2b69f7ae356f57b620b /gcc/local-alloc.c | |
parent | d7889764961d8de3eac9063dea538411668f49ba (diff) | |
download | gcc-0cf4720c583685a57ce812caf0d92b8dd487e3e4.zip gcc-0cf4720c583685a57ce812caf0d92b8dd487e3e4.tar.gz gcc-0cf4720c583685a57ce812caf0d92b8dd487e3e4.tar.bz2 |
(optimize_reg_copy_1): Don't increment n_calls specially if P is a call_insn.
From-SVN: r3948
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r-- | gcc/local-alloc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c index dba5fe5..4018181 100644 --- a/gcc/local-alloc.c +++ b/gcc/local-alloc.c @@ -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. |