Commit 00d33cb2 by Jeffrey A Law Committed by Jeff Law

regclass.c (init_regs): Add "top_of_stack" as a garbage collection root.

        * regclass.c (init_regs): Add "top_of_stack" as a garbage
        collection root.

From-SVN: r29589
parent c3b6e114
...@@ -9,6 +9,9 @@ Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com> ...@@ -9,6 +9,9 @@ Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com) Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
* regclass.c (init_regs): Add "top_of_stack" as a garbage
collection root.
* flow.c (record_active_eh_regions): Terminate loop after finding * flow.c (record_active_eh_regions): Terminate loop after finding
the last insn in the last basic block. the last insn in the last basic block.
......
...@@ -460,6 +460,7 @@ init_regs () ...@@ -460,6 +460,7 @@ init_regs ()
int i; int i;
for (i = 0; i < MAX_MACHINE_MODE; i++) for (i = 0; i < MAX_MACHINE_MODE; i++)
top_of_stack[i] = gen_rtx_MEM (i, stack_pointer_rtx); top_of_stack[i] = gen_rtx_MEM (i, stack_pointer_rtx);
ggc_add_rtx_root (top_of_stack, MAX_MACHINE_MODE);
} }
#endif #endif
} }
......
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