Mercurial > hg > CbC > CbC_gcc
diff gcc/optinfo.h @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line diff
--- a/gcc/optinfo.h Thu Oct 25 07:37:49 2018 +0900 +++ b/gcc/optinfo.h Thu Feb 13 11:34:05 2020 +0900 @@ -1,5 +1,5 @@ /* Optimization information. - Copyright (C) 2018 Free Software Foundation, Inc. + Copyright (C) 2018-2020 Free Software Foundation, Inc. Contributed by David Malcolm <dmalcolm@redhat.com>. This file is part of GCC. @@ -65,15 +65,9 @@ /* Forward decls. */ -struct opt_pass; +class opt_pass; class optinfo_item; -/* Should optinfo instances be created? - All creation of optinfos should be guarded by this predicate. - Return true if any optinfo destinations are active. */ - -extern bool optinfo_enabled_p (); - /* Return true if any of the active optinfo destinations make use of inlining information. (if true, then the information is preserved). */ @@ -130,8 +124,6 @@ void emit_for_opt_problem () const; private: - void emit () const; - /* Pre-canned ways of manipulating the optinfo, for use by friend class dump_context. */ void handle_dump_file_kind (dump_flags_t);