]> gcc.gnu.org Git - gcc.git/commitdiff
integrate.c (has_func_hard_reg_initial_val, [...]): Make them static.
authorKazu Hirata <kazu@cs.umass.edu>
Fri, 19 Nov 2004 02:58:33 +0000 (02:58 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 19 Nov 2004 02:58:33 +0000 (02:58 +0000)
* 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

gcc/ChangeLog
gcc/integrate.c
gcc/integrate.h

index 4ff0ee960e77e41e2718c950b7b1cb2be44fe071..5320c7ad0008a2b4a42326a525141b59d9e2c7fe 100644 (file)
@@ -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.
index e4a9ddd9d71972b6909ef7a89646d712bb741f91..135bd1d38b85f193279a8a3fb39f3878292793ed 100644 (file)
@@ -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;
index 2d6cffcbe435cdaf20a8ef606587aaa5daa14a0f..74d3f9d03ddb2651675f8ec68797f606521c418f 100644 (file)
@@ -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
This page took 0.086772 seconds and 5 git commands to generate.