aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-06-30 16:58:18 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-06-30 16:58:18 -0700
commit521d8de07f181a54b31b6660b5dc55c76f390ff8 (patch)
tree72444d2745efa29ca92cffbcfbeb2823592f16ba /gcc
parentdcfbe7c7d9bf93e65a27c44c0433ac5316610c2c (diff)
downloadgcc-521d8de07f181a54b31b6660b5dc55c76f390ff8.zip
gcc-521d8de07f181a54b31b6660b5dc55c76f390ff8.tar.gz
gcc-521d8de07f181a54b31b6660b5dc55c76f390ff8.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/function.c10
-rw-r--r--gcc/function.h8
3 files changed, 6 insertions, 18 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 59cf7d7..202621b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
diff --git a/gcc/function.c b/gcc/function.c
index 3e1c0d9..faa77d9 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 6dd0f307..b83418f 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)