OSDN Git Service

* Makefile.in (timevar.o): Depend on flags.h.
authorsamuel <samuel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Apr 2000 06:18:14 +0000 (06:18 +0000)
committersamuel <samuel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Apr 2000 06:18:14 +0000 (06:18 +0000)
commit91c766436dee1f486f5b7e43801f197a4c2c9685
treeb3fd7fe7ab5425c77334ae61a111990fc9a108ca
parent402d5eb5ed82db45347fd273a93bda60e2d62962
* Makefile.in (timevar.o): Depend on flags.h.
* timevar.c (unused_stack_instances): New variable.
(timevar_push): Take a timevar_stack_def from
unused_stack_instances if available.
(timevar_pop): Push the popped timevar_stack_def onto
unused_stack_instances.
(TIMEVAR_ENABLE): New macro.
(timevar_def): Make standalone a 1-bit field.  Add field used.
(get_time): Rename parameter to now.  Return after clearing it if
not TIMEVAR_ENABLE.
(init_timevar): Do nothing if not TIMEVAR_ENABLE.
(timevar_pop): Likewise.
(timevar_stop): Likewise.
(timevar_push): Likewise.  Mark the timing variable as used.
(timevar_start): Likewise.
(timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
timevars that were never used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33504 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/timevar.c