OSDN Git Service

2008-07-02 Martin Jambor <mjambor@suse.cz>
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Jul 2008 09:59:34 +0000 (09:59 +0000)
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Jul 2008 09:59:34 +0000 (09:59 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137349 138bc75d-0d04-0410-961f-82ee72b054a4

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

index e50b5e4..0005ecc 100644 (file)
@@ -1,5 +1,12 @@
 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
        whitespace issues
        (build_constructors): Fixed minor formatting mistakes.
index 0429eb4..a2693fc 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 91551ea..8ed25fc 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 */