OSDN Git Service

* timevar.def (TV_FIND_REFERENCED_VARS): New.
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Oct 2004 21:18:15 +0000 (21:18 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Oct 2004 21:18:15 +0000 (21:18 +0000)
* tree-dfa.c (pass_referenced_var): Use it.

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

gcc/ChangeLog
gcc/timevar.def
gcc/tree-dfa.c

index 474fec2..bcdfb1a 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-25  Steven Bosscher  <stevenb@suse.de>
+
+       * timevar.def (TV_FIND_REFERENCED_VARS): New.
+       * tree-dfa.c (pass_referenced_var): Use it.
+
 2004-10-25  Roger Sayle  <roger@eyesopen.com>
            John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
index a7ebc3e..09de2e2 100644 (file)
@@ -64,6 +64,7 @@ DEFTIMEVAR (TV_TREE_GIMPLIFY       , "tree gimplify")
 DEFTIMEVAR (TV_TREE_EH              , "tree eh")
 DEFTIMEVAR (TV_TREE_CFG                     , "tree CFG construction")
 DEFTIMEVAR (TV_TREE_CLEANUP_CFG             , "tree CFG cleanup")
+DEFTIMEVAR (TV_FIND_REFERENCED_VARS  , "tree find referenced vars")
 DEFTIMEVAR (TV_TREE_PTA                     , "tree PTA")
 DEFTIMEVAR (TV_TREE_MAY_ALIAS        , "tree alias analysis")
 DEFTIMEVAR (TV_TREE_INSERT_PHI_NODES , "tree PHI insertion")
index e86d21c..f44a653 100644 (file)
@@ -132,7 +132,7 @@ struct tree_opt_pass pass_referenced_vars =
   NULL,                                        /* sub */
   NULL,                                        /* next */
   0,                                   /* static_pass_number */
-  0,                                   /* tv_id */
+  TV_FIND_REFERENCED_VARS,             /* tv_id */
   PROP_gimple_leh | PROP_cfg,          /* properties_required */
   PROP_referenced_vars,                        /* properties_provided */
   0,                                   /* properties_destroyed */