Commit 9a807d3a by Richard Kenner

(struct function): Make frame_offset be HOST_WIDE_INT.

(get_frame_size): Add definition.

From-SVN: r13244
parent 8af5168b
...@@ -95,7 +95,7 @@ struct function ...@@ -95,7 +95,7 @@ struct function
rtx save_expr_regs; rtx save_expr_regs;
rtx stack_slot_list; rtx stack_slot_list;
rtx parm_birth_insn; rtx parm_birth_insn;
int frame_offset; HOST_WIDE_INT frame_offset;
rtx tail_recursion_label; rtx tail_recursion_label;
rtx tail_recursion_reentry; rtx tail_recursion_reentry;
rtx internal_arg_pointer; rtx internal_arg_pointer;
...@@ -223,6 +223,11 @@ extern struct function *outer_function_chain; ...@@ -223,6 +223,11 @@ extern struct function *outer_function_chain;
the index of that block in the vector. */ the index of that block in the vector. */
extern tree *identify_blocks PROTO((tree, rtx)); 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 /* These variables hold pointers to functions to
save and restore machine-specific data, save and restore machine-specific data,
in push_function_context and pop_function_context. */ in push_function_context and pop_function_context. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment