diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2013-12-18 17:38:07 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2013-12-18 17:38:07 +0000 |
commit | 9d5879a631fe50ebe58e714cc2d85efeaa0d3f4e (patch) | |
tree | ca8051fe7ac3f0d5f6d48ff8388018fc4eda5866 /gcc/tree-pass.h | |
parent | 50e6a1482b76a0a06aabf4587bf97da846ff2578 (diff) | |
download | gcc-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.h | 5 |
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; }; |