executing the pass.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89086
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-10-15 Diego Novillo <dnovillo@redhat.com>
+
+ * tree-optimize.c (execute_one_pass): Stop timer right after
+ executing the pass.
+
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
Revert:
if (pass->execute)
pass->execute ();
+ /* Stop timevar. */
+ if (pass->tv_id)
+ timevar_pop (pass->tv_id);
+
if (dump_file
&& (pass->properties_provided & (PROP_cfg | PROP_rtl))
== (PROP_cfg | PROP_rtl))
if (todo)
execute_todo (pass->properties_provided, todo);
- /* Close down timevar and dump file. */
- if (pass->tv_id)
- timevar_pop (pass->tv_id);
+ /* Flush and close dump file. */
if (dump_file_name)
{
free ((char *) dump_file_name);