diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/modulo-sched.c | 15 |
2 files changed, 13 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f9e774b..22c9e2e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -13,6 +13,10 @@ * tree-vectorizer.h: Remove the prototype for vect_strip_conversion. + * modulo-sched.c (create_partial_schedule, + free_partial_schedule, reset_partial_schedule): Make them + static. + 2006-01-28 David Edelsohn <edelsohn@gnu.org> * config/rs6000/aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -msoft-float diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c index ab035c9..eb362d0 100644 --- a/gcc/modulo-sched.c +++ b/gcc/modulo-sched.c @@ -157,9 +157,9 @@ struct undo_replace_buff_elem -partial_schedule_ptr create_partial_schedule (int ii, ddg_ptr, int history); -void free_partial_schedule (partial_schedule_ptr); -void reset_partial_schedule (partial_schedule_ptr, int new_ii); +static partial_schedule_ptr create_partial_schedule (int ii, ddg_ptr, int history); +static void free_partial_schedule (partial_schedule_ptr); +static void reset_partial_schedule (partial_schedule_ptr, int new_ii); void print_partial_schedule (partial_schedule_ptr, FILE *); static int kernel_number_of_cycles (rtx first_insn, rtx last_insn); static ps_insn_ptr ps_add_node_check_conflicts (partial_schedule_ptr, @@ -2033,7 +2033,8 @@ order_nodes_in_scc (ddg_ptr g, sbitmap nodes_ordered, sbitmap scc, modulo scheduling. */ /* Create a partial schedule and allocate a memory to hold II rows. */ -partial_schedule_ptr + +static partial_schedule_ptr create_partial_schedule (int ii, ddg_ptr g, int history) { partial_schedule_ptr ps = (partial_schedule_ptr) @@ -2069,7 +2070,8 @@ free_ps_insns (partial_schedule_ptr ps) } /* Free all the memory allocated to the partial schedule. */ -void + +static void free_partial_schedule (partial_schedule_ptr ps) { if (!ps) @@ -2081,7 +2083,8 @@ free_partial_schedule (partial_schedule_ptr ps) /* Clear the rows array with its PS_INSNs, and create a new one with NEW_II rows. */ -void + +static void reset_partial_schedule (partial_schedule_ptr ps, int new_ii) { if (!ps) |
