aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r--include/llvm/Transforms/Utils/InlineCost.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Utils/InlineCost.h b/include/llvm/Transforms/Utils/InlineCost.h
index c54b98af52..509217b00c 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);
};
}