varasm.c (get_pool_mode_for_function, [...]): Remove.

* varasm.c (get_pool_mode_for_function, get_pool_offset):
	Remove.
	* rtl.h: Remove the corresponding prototypes.

From-SVN: r89465
This commit is contained in:
Kazu Hirata 2004-10-22 18:48:15 +00:00 committed by Kazu Hirata
parent 385efa80b7
commit 4fe8591b52
3 changed files with 6 additions and 16 deletions

View 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

View File

@ -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 */

View 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