aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2015-11-16 12:40:50 +0000
committerTom de Vries <vries@gcc.gnu.org>2015-11-16 12:40:50 +0000
commit7cf76184c4d8a8fa446b9f3126af2d468fed3a08 (patch)
tree864d7ba05b5d6f18a9ab3f0c357b5abe3dd3d883 /gcc/passes.c
parentc06883ac2d1cc41a051a54141abff4deed429f35 (diff)
downloadgcc-7cf76184c4d8a8fa446b9f3126af2d468fed3a08.zip
gcc-7cf76184c4d8a8fa446b9f3126af2d468fed3a08.tar.gz
gcc-7cf76184c4d8a8fa446b9f3126af2d468fed3a08.tar.bz2
Remove first_pass_instance
2015-11-16 Tom de Vries <tom@codesourcery.com> * passes.c (first_pass_instance): Remove variable. (execute_todo): Remove setting of first_pass_instance. * tree-pass.h (first_pass_instance): Remove declaration. From-SVN: r230420
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index e634c5c..0e23dcb 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -151,7 +151,6 @@ debug_pass (void)
/* Global variables used to communicate with passes. */
bool in_gimple_form;
-bool first_pass_instance;
/* This is called from various places for FUNCTION_DECL, VAR_DECL,
@@ -2005,9 +2004,6 @@ execute_todo (unsigned int flags)
timevar_push (TV_TODO);
- /* Inform the pass whether it is the first time it is run. */
- first_pass_instance = (flags & TODO_mark_first_instance) != 0;
-
statistics_fini_pass ();
if (flags)