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/InlineCost.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/InlineCost.cpp')
-rw-r--r-- | lib/Transforms/Utils/InlineCost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/InlineCost.cpp b/lib/Transforms/Utils/InlineCost.cpp index 8b34427ac6..c568355a5f 100644 --- a/lib/Transforms/Utils/InlineCost.cpp +++ b/lib/Transforms/Utils/InlineCost.cpp @@ -141,7 +141,7 @@ void InlineCostAnalyzer::FunctionInfo::analyzeFunction(Function *F) { // getInlineCost - The heuristic used to determine if we should inline the // function call or not. // -int InlineCostAnalyzer::getInlineCost(CallSite CS, std::set<const Function *> &NeverInline) { +int InlineCostAnalyzer::getInlineCost(CallSite CS, SmallPtrSet<const Function *, 16> &NeverInline) { Instruction *TheCall = CS.getInstruction(); Function *Callee = CS.getCalledFunction(); const Function *Caller = TheCall->getParent()->getParent(); |