diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 34abac14f7fd..af043d073d88 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-10-22 Kazu Hirata + + * varasm.c (get_pool_mode_for_function, get_pool_offset): + Remove. + * rtl.h: Remove the corresponding prototypes. + 2004-10-22 Kazu Hirata * tree-cfg.c (thread_jumps_from_bb): Speed up by extracting diff --git a/gcc/rtl.h b/gcc/rtl.h index ca2a0174ae55..9b9bfcce6b71 100644 --- 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 */ diff --git a/gcc/varasm.c b/gcc/varasm.c index 8a607f5b9831..f704f684dea0 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -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