varasm.c (get_pool_mode_for_function, [...]): Remove.
authorKazu Hirata <kazu@cs.umass.edu>
Fri, 22 Oct 2004 18:48:15 +0000 (18:48 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 22 Oct 2004 18:48:15 +0000 (18:48 +0000)
* varasm.c (get_pool_mode_for_function, get_pool_offset):
Remove.
* rtl.h: Remove the corresponding prototypes.

From-SVN: r89465

gcc/ChangeLog
gcc/rtl.h
gcc/varasm.c

index 34abac14f7fd9f791ac8d712c14286c46b9d2900..af043d073d88d3116db29fcf49682535069ea2ef 100644 (file)
@@ -1,3 +1,9 @@
+2004-10-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * varasm.c (get_pool_mode_for_function, get_pool_offset):
+       Remove.
+       * rtl.h: Remove the corresponding prototypes.
+
 2004-10-22  Kazu Hirata  <kazu@cs.umass.edu>
 
        * tree-cfg.c (thread_jumps_from_bb): Speed up by extracting
index ca2a0174ae55b05221438a242f757d1416618290..9b9bfcce6b7179ce60b23acd577601900ef5e20d 100644 (file)
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1446,8 +1446,6 @@ extern rtx get_pool_constant (rtx);
 extern rtx get_pool_constant_mark (rtx, bool *);
 extern enum machine_mode get_pool_mode (rtx);
 extern rtx get_pool_constant_for_function (struct function *, rtx);
-extern enum machine_mode get_pool_mode_for_function (struct function *, rtx);
-extern int get_pool_offset (rtx);
 extern rtx simplify_subtraction (rtx);
 
 /* In function.c  */
index 8a607f5b9831d0f9361a7c79900343ef6c67b5b5..f704f684dea058912595ce76a7bbb91964568e5d 100644 (file)
@@ -3039,20 +3039,6 @@ get_pool_mode (rtx addr)
   return find_pool_constant (cfun->varasm->pool, addr)->mode;
 }
 
-enum machine_mode
-get_pool_mode_for_function (struct function *f, rtx addr)
-{
-  return find_pool_constant (f->varasm->pool, addr)->mode;
-}
-
-/* Similar, return the offset in the constant pool.  */
-
-int
-get_pool_offset (rtx addr)
-{
-  return find_pool_constant (cfun->varasm->pool, addr)->offset;
-}
-
 /* Return the size of the constant pool.  */
 
 int