function.h (struct function): Remove x_last_parm_insn, inl_last_parm_insn.

* function.h (struct function): Remove x_last_parm_insn,
        inl_last_parm_insn.
        (last_parm_insn): Remove.
        * function.c (free_after_compilation): Don't clear them.
        (fixup_var_refs_insn, assign_parms): Don't set them.

From-SVN: r83939
This commit is contained in:
Richard Henderson 2004-06-30 16:58:18 -07:00 committed by Richard Henderson
parent dcfbe7c7d9
commit 521d8de07f
3 changed files with 6 additions and 18 deletions

View File

@ -1,5 +1,11 @@
2004-06-30 Richard Henderson <rth@redhat.com>
* function.h (struct function): Remove x_last_parm_insn,
inl_last_parm_insn.
(last_parm_insn): Remove.
* function.c (free_after_compilation): Don't clear them.
(fixup_var_refs_insn, assign_parms): Don't set them.
* function.c, rtl.h (get_first_nonparm_insn): Remove.
2004-06-30 Joseph S. Myers <jsm@polyomino.org.uk>

View File

@ -446,12 +446,10 @@ free_after_compilation (struct function *f)
f->x_tail_recursion_reentry = NULL;
f->x_arg_pointer_save_area = NULL;
f->x_parm_birth_insn = NULL;
f->x_last_parm_insn = NULL;
f->x_parm_reg_stack_loc = NULL;
f->fixup_var_refs_queue = NULL;
f->original_arg_vector = NULL;
f->original_decl_initial = NULL;
f->inl_last_parm_insn = NULL;
f->epilogue_delay_list = NULL;
}
@ -1824,12 +1822,6 @@ fixup_var_refs_insn (rtx insn, rtx var, enum machine_mode promoted_mode,
fixup_var_refs_1 (var, promoted_mode, &PATTERN (insn), insn,
&replacements, no_share);
/* If this is last_parm_insn, and any instructions were output
after it to fix it up, then we must set last_parm_insn to
the last such instruction emitted. */
if (insn == last_parm_insn)
last_parm_insn = PREV_INSN (next_insn);
while (replacements)
{
struct fixup_replacement *next;
@ -5292,8 +5284,6 @@ assign_parms (tree fndecl)
SET_DECL_RTL (result, x);
}
last_parm_insn = get_last_insn ();
/* We have aligned all the args, so add space for the pretend args. */
stack_args_size.constant += extra_pretend_bytes;
current_function_args_size = stack_args_size.constant;

View File

@ -296,10 +296,6 @@ struct function GTY(())
/* Insn after which register parms and SAVE_EXPRs are born, if nonopt. */
rtx x_parm_birth_insn;
/* Last insn of those whose job was to put parms into their nominal
homes. */
rtx x_last_parm_insn;
/* 1 + last pseudo register number possibly used for loading a copy
of a parameter of this function. */
unsigned int x_max_parm_reg;
@ -337,9 +333,6 @@ struct function GTY(())
int no_debugging_symbols;
rtvec original_arg_vector;
tree original_decl_initial;
/* Last insn of those whose job was to put parms into their nominal
homes. */
rtx inl_last_parm_insn;
/* Highest label number in current function. */
int inl_max_label_num;
@ -550,7 +543,6 @@ extern int trampolines_created;
#define tail_recursion_reentry (cfun->x_tail_recursion_reentry)
#define arg_pointer_save_area (cfun->x_arg_pointer_save_area)
#define rtl_expr_chain (cfun->x_rtl_expr_chain)
#define last_parm_insn (cfun->x_last_parm_insn)
#define function_call_count (cfun->x_function_call_count)
#define used_temp_slots (cfun->x_used_temp_slots)
#define avail_temp_slots (cfun->x_avail_temp_slots)