From: Martin Jambor Date: Wed, 2 Jul 2008 09:59:34 +0000 (+0200) Subject: tree-switch-conversion.c: Included timevar.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a167a67620fe7124ed29891ba32e7af676831a3c;p=gcc.git tree-switch-conversion.c: Included timevar.h 2008-07-02 Martin Jambor * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e50b5e478f6..0005ecc9023 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2008-07-02 Martin Jambor + + * 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 * tree-switch-conversion.c: Corrected various comments and diff --git a/gcc/timevar.def b/gcc/timevar.def index 0429eb41275..a2693fcc199 100644 --- a/gcc/timevar.def +++ b/gcc/timevar.def @@ -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") diff --git a/gcc/tree-switch-conversion.c b/gcc/tree-switch-conversion.c index 91551ea10d2..8ed25fcabc1 100644 --- a/gcc/tree-switch-conversion.c +++ b/gcc/tree-switch-conversion.c @@ -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 */