tree-switch-conversion.c: Included timevar.h

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
This commit is contained in:
Martin Jambor 2008-07-02 11:59:34 +02:00 committed by Martin Jambor
parent b1ae16815a
commit a167a67620
3 changed files with 9 additions and 1 deletions

View 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

View 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")

View 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 */