diff options
author | Dale Johannesen <dalej@apple.com> | 2009-03-23 23:39:20 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-03-23 23:39:20 +0000 |
commit | 16581bf931c0ccf2f8993397acfa4e1d509a68dc (patch) | |
tree | fea852e53eea69ac5cfc41a29ae7d85e7823381c /include | |
parent | 5d088fee7cf20309669f85d2027e2b010b40025b (diff) | |
download | external_llvm-16581bf931c0ccf2f8993397acfa4e1d509a68dc.zip external_llvm-16581bf931c0ccf2f8993397acfa4e1d509a68dc.tar.gz external_llvm-16581bf931c0ccf2f8993397acfa4e1d509a68dc.tar.bz2 |
Use a SmallPtrSet instead of std::set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67578 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Transforms/IPO/InlinerPass.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Transforms/IPO/InlinerPass.h b/include/llvm/Transforms/IPO/InlinerPass.h index a0a11a1..b370e96 100644 --- a/include/llvm/Transforms/IPO/InlinerPass.h +++ b/include/llvm/Transforms/IPO/InlinerPass.h @@ -20,7 +20,6 @@ #include "llvm/CallGraphSCCPass.h" #include "llvm/Transforms/Utils/InlineCost.h" #include "llvm/Target/TargetData.h" -#include <set> namespace llvm { @@ -48,7 +47,7 @@ struct Inliner : public CallGraphSCCPass { // InlineCallIfPossible bool InlineCallIfPossible(CallSite CS, CallGraph &CG, - const std::set<Function*> &SCCFunctions, + const SmallPtrSet<Function*, 8> &SCCFunctions, const TargetData &TD); /// This method returns the value specified by the -inline-threshold value, |