summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-08 19:07:49 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-08 19:07:49 +0000
commitc66a43689eeb6a9014b2b6cbd49b2c745e3d7d69 (patch)
treea9f7d9ab5edbf9bee8bea33b2b73b49b89b0a731 /gcc
parent6058028632c72f1c62ea6e526127a33e2236e2a4 (diff)
downloadgcc-c66a43689eeb6a9014b2b6cbd49b2c745e3d7d69.tar.gz
sched-deps.c (add_insn_mem_dependence): Make it static.
* sched-deps.c (add_insn_mem_dependence): Make it static. * sched-int.h: Remove the corresponding prototypes. From-SVN: r90283
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/sched-deps.c2
-rw-r--r--gcc/sched-int.h1
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 06b030dacc3..da589114537 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
+ * sched-deps.c (add_insn_mem_dependence): Make it static.
+ * sched-int.h: Remove the corresponding prototypes.
+
+2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
+
* flow.c (allocate_bb_life_data): Make it static.
* basic-block.h: Remove the corresponding prototype.
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c
index ea32c704ee4..5dc920556ce 100644
--- a/gcc/sched-deps.c
+++ b/gcc/sched-deps.c
@@ -398,7 +398,7 @@ set_sched_group_p (rtx insn)
The MEM is a memory reference contained within INSN, which we are saving
so that we can do memory aliasing on it. */
-void
+static void
add_insn_mem_dependence (struct deps *deps, rtx *insn_list, rtx *mem_list,
rtx insn, rtx mem)
{
diff --git a/gcc/sched-int.h b/gcc/sched-int.h
index 8dddc9e2b83..777adacdeae 100644
--- a/gcc/sched-int.h
+++ b/gcc/sched-int.h
@@ -357,7 +357,6 @@ extern void print_insn (char *, rtx, int);
/* Functions in sched-deps.c. */
extern int add_dependence (rtx, rtx, enum reg_note);
-extern void add_insn_mem_dependence (struct deps *, rtx *, rtx *, rtx, rtx);
extern void sched_analyze (struct deps *, rtx, rtx);
extern void init_deps (struct deps *);
extern void free_deps (struct deps *);