From 29381fb7cdba040facf562f4ea028400cd626d2b Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 27 Jul 2007 18:34:27 +0000 Subject: Use SmallPtrSet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40560 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/IPO/InlineSimple.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/Transforms/IPO/InlineSimple.cpp') diff --git a/lib/Transforms/IPO/InlineSimple.cpp b/lib/Transforms/IPO/InlineSimple.cpp index eea28a745c..38bf0610b3 100644 --- a/lib/Transforms/IPO/InlineSimple.cpp +++ b/lib/Transforms/IPO/InlineSimple.cpp @@ -23,14 +23,15 @@ #include "llvm/Transforms/IPO.h" #include "llvm/Transforms/IPO/InlinerPass.h" #include "llvm/Transforms/Utils/InlineCost.h" -#include +#include "llvm/ADT/SmallPtrSet.h" using namespace llvm; namespace { class VISIBILITY_HIDDEN SimpleInliner : public Inliner { - std::set NeverInline; // Functions that are never inlined + // Functions that are never inlined + SmallPtrSet NeverInline; InlineCostAnalyzer CA; public: SimpleInliner() : Inliner(&ID) {} -- cgit v1.2.3