Commit c1132c27 by Richard Kenner Committed by Jeff Law

integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.

        * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
From Kenner, fixes more ADDRESSOF problems.

From-SVN: r17027
parent a1d061a1
Tue Dec 9 09:32:33 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com) Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
* Partially cleaned up prototyping code from HJ. * Partially cleaned up prototyping code from HJ.
......
...@@ -415,6 +415,7 @@ save_for_inline_copying (fndecl) ...@@ -415,6 +415,7 @@ save_for_inline_copying (fndecl)
int max_uid; int max_uid;
rtx first_nonparm_insn; rtx first_nonparm_insn;
char *new, *new1; char *new, *new1;
rtx *new_parm_reg_stack_loc;
rtx *new2; rtx *new2;
/* Make and emit a return-label if we have not already done so. /* Make and emit a return-label if we have not already done so.
...@@ -522,6 +523,13 @@ save_for_inline_copying (fndecl) ...@@ -522,6 +523,13 @@ save_for_inline_copying (fndecl)
for (i = min_labelno; i < max_labelno; i++) for (i = min_labelno; i < max_labelno; i++)
label_map[i] = gen_label_rtx (); label_map[i] = gen_label_rtx ();
/* Likewise for parm_reg_stack_slot. */
new_parm_reg_stack_loc = (rtx *) savealloc (max_parm_reg * sizeof (rtx));
for (i = 0; i < max_parm_reg; i++)
new_parm_reg_stack_loc[i] = copy_for_inline (parm_reg_stack_loc[i]);
parm_reg_stack_loc = new_parm_reg_stack_loc;
/* Record the mapping of old insns to copied insns. */ /* Record the mapping of old insns to copied insns. */
insn_map = (rtx *) alloca (max_uid * sizeof (rtx)); insn_map = (rtx *) alloca (max_uid * sizeof (rtx));
......
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