summaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-11 23:08:56 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-11 23:08:56 +0000
commit0aa9ffd404b5ea71b2223640f71170d6e391838f (patch)
treeaebc45babab958f38a1efb5066c810a2e31511d8 /gcc/alias.c
parent75ff09a0a5433fa68975fe6cc5a21ae47ebea486 (diff)
downloadgcc-0aa9ffd404b5ea71b2223640f71170d6e391838f.tar.gz
* alias.c (record_alias_subset, addr_side_effect_eval):
Make them static. * alias.h: Remove the prototype for record_alias_subset. * expr.h: Remove the commented-out prototype for record_alias_subset. * rtl.h: Remove the prototype for addr_side_effect_eval. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90501 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/alias.c b/gcc/alias.c
index 49f2c6b1147..dd2f35e502c 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -122,6 +122,7 @@ static int nonlocal_referenced_p (rtx);
static int nonlocal_set_p_1 (rtx *, void *);
static int nonlocal_set_p (rtx);
static void memory_modified_1 (rtx, rtx, void *);
+static void record_alias_subset (HOST_WIDE_INT, HOST_WIDE_INT);
/* Set up all info needed to perform alias analysis on memory references. */
@@ -595,7 +596,7 @@ new_alias_set (void)
It is illegal for SUPERSET to be zero; everything is implicitly a
subset of alias set zero. */
-void
+static void
record_alias_subset (HOST_WIDE_INT superset, HOST_WIDE_INT subset)
{
alias_set_entry superset_entry;
@@ -1562,7 +1563,7 @@ get_addr (rtx x)
where SIZE is the size in bytes of the memory reference. If ADDR
is not modified by the memory reference then ADDR is returned. */
-rtx
+static rtx
addr_side_effect_eval (rtx addr, int size, int n_refs)
{
int offset = 0;