diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/integrate.c | 4 | ||||
-rw-r--r-- | gcc/integrate.h | 5 |
3 files changed, 6 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4ff0ee960e7..5320c7ad000 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -3,6 +3,10 @@ * emit-rtl.c (classify_insn): Make it static. * rtl.h: Remove the corresponding prototype. + * integrate.c (has_func_hard_reg_initial_val, + get_func_hard_reg_initial_val): Make them static. + * integrate.h: Remove the corresponding prototypes. + 2004-11-19 Ben Elliston <bje@au.ibm.com> * dwarf2asm.h (dw2_asm_output_pcel): Stub out with #if 0. diff --git a/gcc/integrate.c b/gcc/integrate.c index e4a9ddd9d71..135bd1d38b8 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -293,7 +293,7 @@ get_hard_reg_initial_reg (struct function *fun, rtx reg) return NULL_RTX; } -rtx +static rtx has_func_hard_reg_initial_val (struct function *fun, rtx reg) { struct initial_value_struct *ivs = fun->hard_reg_initial_vals; @@ -309,7 +309,7 @@ has_func_hard_reg_initial_val (struct function *fun, rtx reg) return NULL_RTX; } -rtx +static rtx get_func_hard_reg_initial_val (struct function *fun, rtx reg) { struct initial_value_struct *ivs = fun->hard_reg_initial_vals; diff --git a/gcc/integrate.h b/gcc/integrate.h index 2d6cffcbe43..74d3f9d03dd 100644 --- a/gcc/integrate.h +++ b/gcc/integrate.h @@ -25,11 +25,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA reg as of the start of the function (for inlined functions, the value at the start of the parent function). */ extern rtx get_hard_reg_initial_val (enum machine_mode, int); -/* Likewise, but for a different than the current function, or - arbitrary expression. */ -extern rtx get_func_hard_reg_initial_val (struct function *, rtx); -/* Likewise, but iff someone else has caused it to become allocated. */ -extern rtx has_func_hard_reg_initial_val (struct function *, rtx); /* Likewise, but for common cases. */ extern rtx has_hard_reg_initial_val (enum machine_mode, int); /* If a pseudo represents an initial hard reg (or expression), return |