aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/Utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-27 04:32:07 +0000
committerChris Lattner <sabre@nondot.org>2009-08-27 04:32:07 +0000
commit12f0babca4459c253675700e1d707652d5b6ba17 (patch)
tree96da1400e98eaf2e60df58d2cc92be1f117ee7d9 /include/llvm/Transforms/Utils
parent8f2718fbef6177966ff807af0732eb2431bd9a5f (diff)
reduce header #include'age
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80204 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils')
-rw-r--r--include/llvm/Transforms/Utils/InlineCost.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Utils/InlineCost.h b/include/llvm/Transforms/Utils/InlineCost.h
index f275b76082..2d0c397227 100644
--- a/include/llvm/Transforms/Utils/InlineCost.h
+++ b/include/llvm/Transforms/Utils/InlineCost.h
@@ -14,7 +14,6 @@
#ifndef LLVM_TRANSFORMS_UTILS_INLINECOST_H
#define LLVM_TRANSFORMS_UTILS_INLINECOST_H
-#include "llvm/ADT/SmallPtrSet.h"
#include <cassert>
#include <climits>
#include <map>
@@ -25,6 +24,8 @@ namespace llvm {
class Value;
class Function;
class CallSite;
+ template<class PtrType, unsigned SmallSize>
+ class SmallPtrSet;
/// InlineCost - Represent the cost of inlining a function. This
/// supports special values for functions which should "always" or