diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-05 01:06:19 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-05 01:06:19 +0000 |
commit | 11911944e942e78ee67010bdd25418c1b8d5ad6c (patch) | |
tree | fc4cc341bebd7cf33f4f51c6ff3fcd5d623cfec5 /gcc/haifa-sched.c | |
parent | deb31f7090ede4f7faecefe7f9e39c5ce65dbae5 (diff) | |
download | gcc-11911944e942e78ee67010bdd25418c1b8d5ad6c.tar.gz |
Return type of get_ready_element
gcc/
2014-09-05 David Malcolm <dmalcolm@redhat.com>
* 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
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |