aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-19 02:58:33 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-19 02:58:33 +0000
commit0bdb54588731f61ff6d33029ca60d74daf002dd5 (patch)
treeecd44b8b745332371b440d0e9ca054d05ddcefc1
parentd78db45956685eb061557086e34eb46bade1cf73 (diff)
downloadgcc-0bdb54588731f61ff6d33029ca60d74daf002dd5.zip
gcc-0bdb54588731f61ff6d33029ca60d74daf002dd5.tar.gz
gcc-0bdb54588731f61ff6d33029ca60d74daf002dd5.tar.bz2
integrate.c (has_func_hard_reg_initial_val, [...]): Make them static.
* integrate.c (has_func_hard_reg_initial_val, get_func_hard_reg_initial_val): Make them static. * integrate.h: Remove the corresponding prototypes. From-SVN: r90895
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/integrate.c4
-rw-r--r--gcc/integrate.h5
3 files changed, 6 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4ff0ee9..5320c7a 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 e4a9ddd..135bd1d 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 2d6cffcb..74d3f9d 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