This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] function.[ch]: Make get_func_frame_size static.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 13 Mar 2005 21:54:49 -0500 (EST)
- Subject: [patch] function.[ch]: Make get_func_frame_size static.
Hi,
Bootstrapped on i686-pc-linux-gnu. Committed as preapproved.
Kazu Hirata
2005-03-14 Kazu Hirata <kazu@cs.umass.edu>
* function.c (get_func_frame_size): Make it static.
* function.h: Remove the corresponding type.
Index: function.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/function.c,v
retrieving revision 1.607
diff -u -d -p -r1.607 function.c
--- function.c 11 Mar 2005 09:04:57 -0000 1.607
+++ function.c 13 Mar 2005 14:39:23 -0000
@@ -353,7 +353,7 @@ free_after_compilation (struct function
This size counts from zero. It is not rounded to PREFERRED_STACK_BOUNDARY;
the caller may have to do that. */
-HOST_WIDE_INT
+static HOST_WIDE_INT
get_func_frame_size (struct function *f)
{
#ifdef FRAME_GROWS_DOWNWARD
Index: function.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/function.h,v
retrieving revision 1.140
diff -u -d -p -r1.140 function.h
--- function.h 20 Feb 2005 11:09:16 -0000 1.140
+++ function.h 13 Mar 2005 14:39:23 -0000
@@ -508,8 +508,6 @@ extern void free_block_changes (void);
This size counts from zero. It is not rounded to STACK_BOUNDARY;
the caller may have to do that. */
extern HOST_WIDE_INT get_frame_size (void);
-/* Likewise, but for a different than the current function. */
-extern HOST_WIDE_INT get_func_frame_size (struct function *);
/* A pointer to a function to create target specific, per-function
data structures. */