aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2013-12-18 17:38:07 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2013-12-18 17:38:07 +0000
commit9d5879a631fe50ebe58e714cc2d85efeaa0d3f4e (patch)
treeca8051fe7ac3f0d5f6d48ff8388018fc4eda5866 /gcc/tree-pass.h
parent50e6a1482b76a0a06aabf4587bf97da846ff2578 (diff)
downloadgcc-9d5879a631fe50ebe58e714cc2d85efeaa0d3f4e.zip
gcc-9d5879a631fe50ebe58e714cc2d85efeaa0d3f4e.tar.gz
gcc-9d5879a631fe50ebe58e714cc2d85efeaa0d3f4e.tar.bz2
passes.c (execute_function_dump): Set graph_dump_initialized appropriately.
* passes.c (execute_function_dump): Set graph_dump_initialized appropriately. (pass_init_dump_file): Similarly. (execute_one_pass): Pass new argument to do_per_function. * tree-pass.h (class opt_pass): New field graph_dump_initialized. From-SVN: r206092
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r--gcc/tree-pass.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h
index 44b3308..308631f 100644
--- a/gcc/tree-pass.h
+++ b/gcc/tree-pass.h
@@ -114,6 +114,11 @@ public:
/* Static pass number, used as a fragment of the dump file name. */
int static_pass_number;
+ /* When a given dump file is being initialized, this flag is set to
+ true if the corresponding TDF_graph dump file has also been
+ initialized. */
+ bool graph_dump_initialized;
+
protected:
gcc::context *m_ctxt;
};