From 11911944e942e78ee67010bdd25418c1b8d5ad6c Mon Sep 17 00:00:00 2001 From: dmalcolm Date: Fri, 5 Sep 2014 01:06:19 +0000 Subject: Return type of get_ready_element gcc/ 2014-09-05 David Malcolm * haifa-sched.c (get_ready_element): Strengthen return type from rtx to rtx_insn *. * sched-int.h (get_ready_element): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214929 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/haifa-sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/haifa-sched.c') diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 1ebfcdb3c8a..83ea5bd158f 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -8731,7 +8731,7 @@ number_in_ready (void) /* Get number of ready's in the ready list. */ -rtx +rtx_insn * get_ready_element (int i) { return ready_element (&ready, i); -- cgit v1.2.1