diff options
author | Chris Lattner <sabre@nondot.org> | 2007-05-06 23:13:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-05-06 23:13:56 +0000 |
commit | 1ce6f8da7283a1f281f1767905873537d66560d5 (patch) | |
tree | 03c24e77a64d0799f38c647eb5f8bb218401cd1f /lib/Transforms/IPO/InlineSimple.cpp | |
parent | 4d396b1a47621f336fe92fb80b5238284bbe89e7 (diff) | |
download | llvm-1ce6f8da7283a1f281f1767905873537d66560d5.tar.gz llvm-1ce6f8da7283a1f281f1767905873537d66560d5.tar.bz2 llvm-1ce6f8da7283a1f281f1767905873537d66560d5.tar.xz |
Fix PR1395, by passing the ID correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36894 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/InlineSimple.cpp')
-rw-r--r-- | lib/Transforms/IPO/InlineSimple.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/IPO/InlineSimple.cpp b/lib/Transforms/IPO/InlineSimple.cpp index 0367adc2ac..14c19c9d68 100644 --- a/lib/Transforms/IPO/InlineSimple.cpp +++ b/lib/Transforms/IPO/InlineSimple.cpp @@ -54,6 +54,7 @@ namespace { class VISIBILITY_HIDDEN SimpleInliner : public Inliner { std::map<const Function*, FunctionInfo> CachedFunctionInfo; public: + SimpleInliner() : Inliner(&ID) {} static char ID; // Pass identification, replacement for typeid int getInlineCost(CallSite CS); }; |