diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-04-19 12:48:35 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-04-19 12:48:35 +0000 |
commit | a6e6c89a584108257bf83a303a034064cc4aa2b9 (patch) | |
tree | b50b5aa4ee5c10e726dd584ddc017c34982c6386 /gcc/dominance.c | |
parent | 9e879e2ecc2c014b010830f40a03988c91dbcd73 (diff) | |
download | ppe42-gcc-a6e6c89a584108257bf83a303a034064cc4aa2b9.tar.gz ppe42-gcc-a6e6c89a584108257bf83a303a034064cc4aa2b9.zip |
* dominance.c: Include timevar.h.
(calculate_dominance_info): Use TV_DOMINANCE.
* timevar.def (TV_DOMINANCE): New timevar.
* Makefile.in (dominance.o): Add TIMEVAR_H dependency.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113075 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dominance.c')
-rw-r--r-- | gcc/dominance.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/dominance.c b/gcc/dominance.c index c5c0810c6c9..92496b77ac1 100644 --- a/gcc/dominance.c +++ b/gcc/dominance.c @@ -43,6 +43,7 @@ #include "basic-block.h" #include "toplev.h" #include "et-forest.h" +#include "timevar.h" /* Whether the dominators and the postdominators are available. */ enum dom_state dom_computed[2]; @@ -616,6 +617,7 @@ calculate_dominance_info (enum cdi_direction dir) if (dom_computed[dir] == DOM_OK) return; + timevar_push (TV_DOMINANCE); if (!dom_info_available_p (dir)) { gcc_assert (!n_bbs_in_dom_tree[dir]); @@ -643,6 +645,8 @@ calculate_dominance_info (enum cdi_direction dir) } compute_dom_fast_query (dir); + + timevar_pop (TV_DOMINANCE); } /* Free dominance information for direction DIR. */ |