]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/timevar.c
timevar.c (timevar_enable): Change from static.
authorAndrew Pinski <pinskia@physics.uc.edu>
Thu, 4 Nov 2004 02:34:07 +0000 (02:34 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Thu, 4 Nov 2004 02:34:07 +0000 (18:34 -0800)
commit89106ed51e2ed3714572fb7e1bb3f389de04d15f
tree8bcea0845b926942621e50fa49e9ac094ef7b106
parentb336747402980567163bc6d61556a8d34c0efd7b
timevar.c (timevar_enable): Change from static.

2004-11-03  Andrew Pinski  <pinskia@physics.uc.edu>

        * timevar.c (timevar_enable): Change from
        static.
        (timevar_push): Rename to ...
        (timevar_push_1): this and remove the
        enabled check.
        (timevar_pop): Rename to ...
        (timevar_pop_1): this and remove the
        enabled check.
        * timevar.h (POP_TIMEVAR_AND_RETURN): Use do/while loops.
        (timevar_pop): New macro.
        (timevar_push): New macro.
        (timevar_enable): Declare.

From-SVN: r90050
gcc/ChangeLog
gcc/timevar.c
gcc/timevar.h