diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-28 22:10:40 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-28 22:10:40 +0000 |
commit | 1bed606aacae6adcda87c8376131e91d20969f7c (patch) | |
tree | fa88065fb76338516533800fd52a3e3e15876782 /gcc/modulo-sched.c | |
parent | 1e477da152841fc4c7a68d65a10ce2125734e615 (diff) | |
download | gcc-1bed606aacae6adcda87c8376131e91d20969f7c.tar.gz |
* modulo-sched.c (create_partial_schedule,
free_partial_schedule, reset_partial_schedule): Make them
static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110338 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/modulo-sched.c')
-rw-r--r-- | gcc/modulo-sched.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c index ab035c9fd2e..eb362d03f60 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) |