diff options
Diffstat (limited to 'gcc/context.h')
-rw-r--r-- | gcc/context.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/context.h b/gcc/context.h index 4aab6de9a9a..d6555ccbd16 100644 --- a/gcc/context.h +++ b/gcc/context.h @@ -23,6 +23,7 @@ along with GCC; see the file COPYING3. If not see namespace gcc { class pass_manager; +class dump_manager; /* GCC's internal state can be divided into zero or more "parallel universe" of state; an instance of this class is one such @@ -36,10 +37,17 @@ public: pass_manager *get_passes () { gcc_assert (m_passes); return m_passes; } + /* Handling dump files. */ + + dump_manager *get_dumps () {gcc_assert (m_dumps); return m_dumps; } + private: /* Pass-management. */ pass_manager *m_passes; + /* Dump files. */ + dump_manager *m_dumps; + }; // class context } // namespace gcc |