aboutsummaryrefslogtreecommitdiff
path: root/gcc/unroll.c
diff options
context:
space:
mode:
authorMichael Hayes <mhayes@redhat.com>2001-01-25 09:28:55 +0000
committerMichael Hayes <m.hayes@gcc.gnu.org>2001-01-25 09:28:55 +0000
commit86e212125feadb56d55459f167c9de10e8bf998c (patch)
treeebd458480ad696ce4a1b2b5597c6de5617decfb4 /gcc/unroll.c
parent9dee3e02ce0937566ea043f335975b2afc84ccf5 (diff)
downloadgcc-86e212125feadb56d55459f167c9de10e8bf998c.zip
gcc-86e212125feadb56d55459f167c9de10e8bf998c.tar.gz
gcc-86e212125feadb56d55459f167c9de10e8bf998c.tar.bz2
loop.c (loop_call_insn_emit_before, [...]): New.
* loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New. (loop_insn_emit_before): No longer static. (move_movables): Replace emit_insn_after with loop_insn_emit_after. (loop_givs_rescan, load_mems): Likewise. (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before. (maybe_eliminate_biv_1): (move_movables): Replace emit_call_insn_before with loop_call_insn_hoist. * loop.h (loop_insn_emit_before): Add. * unroll.c (copy_loop_body): Replace emit_insn_before with loop_insn_emit_before. From-SVN: r39260
Diffstat (limited to 'gcc/unroll.c')
-rw-r--r--gcc/unroll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c
index ec0a151..0d39276 100644
--- a/gcc/unroll.c
+++ b/gcc/unroll.c
@@ -2257,7 +2257,7 @@ copy_loop_body (loop, copy_start, copy_end, map, exit_label, last_iteration,
tem = gen_sequence ();
end_sequence ();
- emit_insn_before (tem, insert_before);
+ loop_insn_emit_before (loop, 0, insert_before, tem);
}
/* Emit an insn, using the expand_binop to ensure that a valid insn is