ggc.h (ggc_root): Move to ggc-common.c.
authorAlex Samuel <samuel@codesourcery.com>
Thu, 16 Sep 1999 19:27:01 +0000 (12:27 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 16 Sep 1999 19:27:01 +0000 (12:27 -0700)
commit96df4529dc098109a5616d81feedade2f7b3922f
treea90b0ac22fb144d290710b57483c4c68cf242b07
parent2a6ec461e1904dc900350bc530768308cd339c8e
ggc.h (ggc_root): Move to ggc-common.c.

Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>

        * ggc.h (ggc_root): Move to ggc-common.c.
        (roots): Remove.
        (ggc_mark_rtx, ggc_mark_tree): Change to macro.
        (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
        (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
        (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
        * ggc-common.c (ggc_root): Move from ggc.h.
        (roots): Declare, static.
        (ggc_mark_rtx, ggc_mark_tree): Renamed to...
        (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
        null or check/set mark bit.
        (ggc_mark_roots): New.
        * ggc-simple.c (ggc_collect): Call ggc_mark_roots.

From-SVN: r29461
gcc/ChangeLog
gcc/ggc-common.c
gcc/ggc-simple.c
gcc/ggc.h