tree-switch-conversion.c: Included timevar.h
authorMartin Jambor <mjambor@suse.cz>
Wed, 2 Jul 2008 09:59:34 +0000 (11:59 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Wed, 2 Jul 2008 09:59:34 +0000 (11:59 +0200)
2008-07-02  Martin Jambor  <mjambor@suse.cz>

* tree-switch-conversion.c: Included timevar.h
(pass_convert_switch): Added a timevar id (TV_TREE_SWITCH_CONVERSION).

* timevar.def: Added TV_TREE_SWITCH_CONVERSION.

From-SVN: r137349

gcc/ChangeLog
gcc/timevar.def
gcc/tree-switch-conversion.c

index e50b5e478f6a5f917b526de3a06561b1981f408f..0005ecc90230c1f1e14cd4b74d14ae933fbbb05d 100644 (file)
@@ -1,3 +1,10 @@
+2008-07-02  Martin Jambor  <mjambor@suse.cz>
+
+       * tree-switch-conversion.c: Included timevar.h
+       (pass_convert_switch): Added a timevar id (TV_TREE_SWITCH_CONVERSION).
+
+       * timevar.def: Added TV_TREE_SWITCH_CONVERSION.
+
 2008-07-02  Martin Jambor  <mjambor@suse.cz>
 
        * tree-switch-conversion.c: Corrected various comments and
index 0429eb41275adfff69cd1dd9ddf25cebd73d9b41..a2693fcc199de761dfc92aed21057de33f562adf 100644 (file)
@@ -140,6 +140,7 @@ DEFTIMEVAR (TV_TREE_NRV                  , "tree NRV optimization")
 DEFTIMEVAR (TV_TREE_COPY_RENAME             , "tree rename SSA copies")
 DEFTIMEVAR (TV_TREE_SSA_VERIFY       , "tree SSA verifier")
 DEFTIMEVAR (TV_TREE_STMT_VERIFY      , "tree STMT verifier")
+DEFTIMEVAR (TV_TREE_SWITCH_CONVERSION, "tree switch initialization conversion")
 DEFTIMEVAR (TV_CGRAPH_VERIFY         , "callgraph verifier")
 DEFTIMEVAR (TV_DOM_FRONTIERS         , "dominance frontiers")
 DEFTIMEVAR (TV_DOMINANCE             , "dominance computation")
index 91551ea10d2713d7de399b4e6fcb97ad2ffb7f3e..8ed25fcabc17bb7ccf0e4a95cafdfd8ee6308462 100644 (file)
@@ -868,7 +868,7 @@ struct gimple_opt_pass pass_convert_switch =
   NULL,                                        /* sub */
   NULL,                                        /* next */
   0,                                   /* static_pass_number */
-  0,                                   /* tv_id */
+  TV_TREE_SWITCH_CONVERSION,           /* tv_id */
   PROP_cfg | PROP_ssa,                 /* properties_required */
   0,                                   /* properties_provided */
   0,                                   /* properties_destroyed */