summaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-12-07 23:49:30 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-12-07 23:49:30 +0000
commit924d43beb3709488f19f58a401c225db42ab0be6 (patch)
tree5e005395c518b4cb96bca82b01576c91c6357616 /gcc/function.h
parent486283636fa584c796e8267cdda9c6af7b8a7855 (diff)
downloadgcc-924d43beb3709488f19f58a401c225db42ab0be6.tar.gz
(struct function): Make frame_offset be HOST_WIDE_INT.
(get_frame_size): Add definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13244 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/function.h b/gcc/function.h
index 47bee4943db..69e60ae4a68 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -95,7 +95,7 @@ struct function
rtx save_expr_regs;
rtx stack_slot_list;
rtx parm_birth_insn;
- int frame_offset;
+ HOST_WIDE_INT frame_offset;
rtx tail_recursion_label;
rtx tail_recursion_reentry;
rtx internal_arg_pointer;
@@ -223,6 +223,11 @@ extern struct function *outer_function_chain;
the index of that block in the vector. */
extern tree *identify_blocks PROTO((tree, rtx));
+/* Return size needed for stack frame based on slots so far allocated.
+ 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 PROTO((void));
+
/* These variables hold pointers to functions to
save and restore machine-specific data,
in push_function_context and pop_function_context. */