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 | e3206cb425eeab24e212b6ac8c64eba90d21b351 (patch) | |
tree | bb2f66a688c0e9cd1a2ea4befb4557123c05e809 /llvm/lib/Transforms/Utils/BasicInliner.cpp | |
parent | 1a39a2d13d8a2bff3c3503d3610b082649217f5b (diff) | |
download | bcm5719-llvm-e3206cb425eeab24e212b6ac8c64eba90d21b351.tar.gz bcm5719-llvm-e3206cb425eeab24e212b6ac8c64eba90d21b351.zip |
Use SmallPtrSet.
llvm-svn: 40560
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicInliner.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/BasicInliner.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/BasicInliner.cpp b/llvm/lib/Transforms/Utils/BasicInliner.cpp index 871b1a504a3..9325d5f2e04 100644 --- a/llvm/lib/Transforms/Utils/BasicInliner.cpp +++ b/llvm/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; }; |