diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-22 18:48:15 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-22 18:48:15 +0000 |
commit | b02137fce8d60c1d9001cd0b8413b678058cf135 (patch) | |
tree | 8476ead14088b9822917e5736e11dcd448dd2534 | |
parent | ed6510d3635fed5e855266675702cb61f01e0743 (diff) | |
download | gcc-b02137fce8d60c1d9001cd0b8413b678058cf135.tar.gz |
* varasm.c (get_pool_mode_for_function, get_pool_offset):
Remove.
* rtl.h: Remove the corresponding prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89465 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/rtl.h | 2 | ||||
-rw-r--r-- | gcc/varasm.c | 14 |
3 files changed, 6 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 34abac14f7f..af043d073d8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 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 edge information when we commit ourselves to threading a particular jump. diff --git a/gcc/rtl.h b/gcc/rtl.h index ca2a0174ae5..9b9bfcce6b7 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 8a607f5b983..f704f684dea 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 |