diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-18 17:07:24 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-18 17:07:24 +0000 |
commit | e7f8f0ebaf58e558ee94593c4ce8f92c9aee7b93 (patch) | |
tree | 02ee9c392331f8b4680db305916ff07138f9fa99 /gcc/tracer.c | |
parent | 50d5ad9fa06aa6c5ccbf12daf9ad3274786019b9 (diff) | |
download | gcc-e7f8f0ebaf58e558ee94593c4ce8f92c9aee7b93.tar.gz |
* Makefile.in (tracer.o, bb-reorder.o): Depend on timevar.h
* toplev.c (rest_of_handle_reorder_blocks, rest_of_handle_tracer):
Don't push and pop TV_REORDER_BLOCKS timevars, do it...
* bb-reorder.c (reorder_basic_blocks): ...here, and...
* tracer.c (tracer): here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74786 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tracer.c')
-rw-r--r-- | gcc/tracer.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/tracer.c b/gcc/tracer.c index 68b3f6697c2..4769a47632f 100644 --- a/gcc/tracer.c +++ b/gcc/tracer.c @@ -45,6 +45,7 @@ #include "cfglayout.h" #include "fibheap.h" #include "flags.h" +#include "timevar.h" #include "params.h" #include "coverage.h" @@ -360,6 +361,9 @@ tracer (void) { if (n_basic_blocks <= 1) return; + + timevar_push (TV_TRACER); + cfg_layout_initialize (); mark_dfs_back_edges (); if (rtl_dump_file) @@ -369,6 +373,9 @@ tracer (void) if (rtl_dump_file) dump_flow_info (rtl_dump_file); cfg_layout_finalize (); + /* Merge basic blocks in duplicated traces. */ cleanup_cfg (CLEANUP_EXPENSIVE); + + timevar_pop (TV_TRACER); } |