diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2013-12-17 20:18:28 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2013-12-17 20:18:28 +0000 |
commit | bd925c509a3e8ef65c6b459c93e2d4bc22ecaa3f (patch) | |
tree | e1a4d225e7d977c42845bf38fbaae0a5ac6422e5 /gcc/ipa-inline.c | |
parent | a7caf9054ff997137e2da7df70473abb75a9890b (diff) | |
download | gcc-bd925c509a3e8ef65c6b459c93e2d4bc22ecaa3f.zip gcc-bd925c509a3e8ef65c6b459c93e2d4bc22ecaa3f.tar.gz gcc-bd925c509a3e8ef65c6b459c93e2d4bc22ecaa3f.tar.bz2 |
ipa-inline.c (gate_ipa_inline): Remove.
* ipa-inline.c (gate_ipa_inline): Remove.
(const pass_data pass_data_ipa_inline): Unset has_gate.
(class pass_ipa_inline): Remove gate() method.
From-SVN: r206066
Diffstat (limited to 'gcc/ipa-inline.c')
-rw-r--r-- | gcc/ipa-inline.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index 38157ca..9fd5d41 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -2339,19 +2339,6 @@ make_pass_early_inline (gcc::context *ctxt) return new pass_early_inline (ctxt); } - -/* When to run IPA inlining. Inlining of always-inline functions - happens during early inlining. - - Enable inlining unconditoinally, because callgraph redirection - happens here. */ - -static bool -gate_ipa_inline (void) -{ - return true; -} - namespace { const pass_data pass_data_ipa_inline = @@ -2359,7 +2346,7 @@ const pass_data pass_data_ipa_inline = IPA_PASS, /* type */ "inline", /* name */ OPTGROUP_INLINE, /* optinfo_flags */ - true, /* has_gate */ + false, /* has_gate */ true, /* has_execute */ TV_IPA_INLINING, /* tv_id */ 0, /* properties_required */ @@ -2386,7 +2373,6 @@ public: {} /* opt_pass methods: */ - bool gate () { return gate_ipa_inline (); } unsigned int execute () { return ipa_inline (); } }; // class pass_ipa_inline |