This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Remove timevar_get ()


Andrew Pinski <pinskia@physics.uc.edu> writes:

>         * 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.

Yes, this is OK.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]