* config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.

From-SVN: r29580
This commit is contained in:
Michael Hayes 1999-09-22 08:00:56 +00:00 committed by Michael Hayes
parent 34de028f1d
commit 7ae0297fa4
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn

View File

@ -156,6 +156,11 @@ c4x_add_gc_roots ()
{
ggc_add_rtx_root (&c4x_compare_op0, 1);
ggc_add_rtx_root (&c4x_compare_op1, 1);
ggc_add_tree_root (&code_tree, 1);
ggc_add_tree_root (&data_tree, 1);
ggc_add_tree_root (&pure_tree, 1);
ggc_add_tree_root (&noreturn_tree, 1);
ggc_add_tree_root (&interrupt_tree, 1);
}