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 | d6605a8512d567beab56429e70bdc30062556930 (patch) | |
| tree | 7786c42cf1f50245007d7842ac3e39a3f9444c1f /include/llvm/Transforms/Utils/InlineCost.h | |
| parent | 9a2da44802c5bdbddc273b5986f39a9e81380b3c (diff) | |
| download | external_llvm-d6605a8512d567beab56429e70bdc30062556930.zip external_llvm-d6605a8512d567beab56429e70bdc30062556930.tar.gz external_llvm-d6605a8512d567beab56429e70bdc30062556930.tar.bz2 | |
Use SmallPtrSet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40560 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/InlineCost.h')
| -rw-r--r-- | include/llvm/Transforms/Utils/InlineCost.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/include/llvm/Transforms/Utils/InlineCost.h b/include/llvm/Transforms/Utils/InlineCost.h index c54b98a..509217b 100644 --- a/include/llvm/Transforms/Utils/InlineCost.h +++ b/include/llvm/Transforms/Utils/InlineCost.h @@ -14,7 +14,7 @@  #ifndef INLINECOST_H  #define INLINECOST_H -#include <set> +#include "llvm/ADT/SmallPtrSet.h"  #include <map>  #include <vector> @@ -73,7 +73,7 @@ namespace llvm {      // getInlineCost - The heuristic used to determine if we should inline the      // function call or not.      // -    int getInlineCost(CallSite CS, std::set<const Function *> &NeverInline); +    int getInlineCost(CallSite CS, SmallPtrSet<const Function *, 16> &NeverInline);    };  } | 
