aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-int.h
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-22 21:10:21 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-22 21:10:21 +0000
commit66fcd40c62ed289e13886f11bc66e503456c3f30 (patch)
treec9a250146197489a8ef70cf05a56ee28c99ae589 /gcc/sched-int.h
parent974c43e9cc0a14d6815d67dfad92f18f23ae6274 (diff)
downloadgcc-66fcd40c62ed289e13886f11bc66e503456c3f30.zip
gcc-66fcd40c62ed289e13886f11bc66e503456c3f30.tar.gz
gcc-66fcd40c62ed289e13886f11bc66e503456c3f30.tar.bz2
sched-ebb.c: Use rtx_insn (requires touching sched-int.h and config/c6x/c6x.c)
gcc/ 2014-08-22 David Malcolm <dmalcolm@redhat.com> * sched-int.h (schedule_ebb): Strengthen params "head", "tail" from rtx to rtx_insn *. * sched-ebb.c (earliest_block_with_similiar_load): Strengthen locals "insn1", "insn2" from rtx to rtx_insn *. (add_deps_for_risky_insns): Likewise for params "head", "tail" and locals "insn", "prev", "last_jump", "next_tail". (schedule_ebb): Likewise for params "head", "tail". (schedule_ebbs): Likewise for locals "tail", "head". * config/c6x/c6x.c (hwloop_optimize): For now, add a checked cast to rtx_insn on "last_insn" in one of the invocations of schedule_ebb. From-SVN: r214375
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r--gcc/sched-int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h
index df7795d..ae048c1 100644
--- a/gcc/sched-int.h
+++ b/gcc/sched-int.h
@@ -1377,7 +1377,7 @@ extern int number_in_ready (void);
/* Types and functions in sched-ebb.c. */
-extern basic_block schedule_ebb (rtx, rtx, bool);
+extern basic_block schedule_ebb (rtx_insn *, rtx_insn *, bool);
extern void schedule_ebbs_init (void);
extern void schedule_ebbs_finish (void);