Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
commit0046a2c25739a5e30a7440811937686c86c4984d
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Sep 1999 19:27:01 +0000 (16 19:27 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Sep 1999 19:27:01 +0000 (16 19:27 +0000)
treea90b0ac22fb144d290710b57483c4c68cf242b07
parent306d967ccec8dce3e47040f9a0ed1e9760e3a80f
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29461 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ggc-common.c
gcc/ggc-simple.c
gcc/ggc.h