diff options
author | Devang Patel <dpatel@apple.com> | 2007-07-27 18:34:27 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-07-27 18:34:27 +0000 |
commit | 29381fb7cdba040facf562f4ea028400cd626d2b (patch) | |
tree | 7786c42cf1f50245007d7842ac3e39a3f9444c1f /lib/Transforms/Utils/BasicInliner.cpp | |
parent | 936baaa5aeddb78ff41b1f655101b4d88c47473b (diff) |
Use SmallPtrSet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40560 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/BasicInliner.cpp')
-rw-r--r-- | lib/Transforms/Utils/BasicInliner.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Transforms/Utils/BasicInliner.cpp b/lib/Transforms/Utils/BasicInliner.cpp index 871b1a504a..9325d5f2e0 100644 --- a/lib/Transforms/Utils/BasicInliner.cpp +++ b/lib/Transforms/Utils/BasicInliner.cpp @@ -23,7 +23,6 @@ #include "llvm/Support/Debug.h" #include "llvm/ADT/SmallPtrSet.h" #include <vector> -#include <set> using namespace llvm; @@ -65,7 +64,7 @@ namespace llvm { private: TargetData *TD; std::vector<Function *> Functions; - std::set<const Function *> NeverInline; + SmallPtrSet<const Function *, 16> NeverInline; SmallPtrSet<Function *, 8> DeadFunctions; InlineCostAnalyzer CA; }; |