aboutsummaryrefslogtreecommitdiff
path: root/gcc/simplify-rtx.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2007-03-21 09:10:08 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-03-21 09:10:08 +0000
commit2a450639801b638f5b28d00b1ba0b560d8a2c271 (patch)
treedcedf9b4a8071779c736674a2898f51cb3a47948 /gcc/simplify-rtx.c
parentfe24cc36d56fe9bf973480d4fe97b2cbc652b69b (diff)
downloadgcc-2a450639801b638f5b28d00b1ba0b560d8a2c271.zip
gcc-2a450639801b638f5b28d00b1ba0b560d8a2c271.tar.gz
gcc-2a450639801b638f5b28d00b1ba0b560d8a2c271.tar.bz2
rtl.h (constant_pool_reference_p): Delete.
gcc/ * rtl.h (constant_pool_reference_p): Delete. (find_constant_src): Declare. * rtlanal.c (find_constant_src): New function. * simplify-rtx.c (constant_pool_reference_p): Delete. * config/i386/i386.md: Use find_constant_src instead of constant_pool_reference_p/avoid_constant_pool_reference pairs. From-SVN: r123106
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r--gcc/simplify-rtx.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c
index 4251df5..e4af34d 100644
--- a/gcc/simplify-rtx.c
+++ b/gcc/simplify-rtx.c
@@ -202,14 +202,6 @@ avoid_constant_pool_reference (rtx x)
return x;
}
-
-/* Return true if X is a MEM referencing the constant pool. */
-
-bool
-constant_pool_reference_p (rtx x)
-{
- return avoid_constant_pool_reference (x) != x;
-}
/* Make a unary operation by first seeing if it folds and otherwise making
the specified operation. */