From 521d8de07f181a54b31b6660b5dc55c76f390ff8 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 30 Jun 2004 16:58:18 -0700 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/function.c | 10 ---------- gcc/function.h | 8 -------- 3 files changed, 6 insertions(+), 18 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 59cf7d75b10..202621ba2d8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2004-06-30 Richard Henderson + * 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 diff --git a/gcc/function.c b/gcc/function.c index 3e1c0d97951..faa77d9c960 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -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; diff --git a/gcc/function.h b/gcc/function.h index 6dd0f307804..b83418f0cc4 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -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) -- 2.30.2