diff options
author | Owen Anderson <resistor@mac.com> | 2010-10-06 22:23:20 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-10-06 22:23:20 +0000 |
commit | 9875903799e292c3972a247675c8ad4ea2212b05 (patch) | |
tree | 8d0e14d4d06cff419b1a1bcc72061b65a913ddab /lib/Analysis/ProfileInfo.cpp | |
parent | 3c38f96af2a5443d9f72fd078c2c98dd08746e51 (diff) | |
download | external_llvm-9875903799e292c3972a247675c8ad4ea2212b05.zip external_llvm-9875903799e292c3972a247675c8ad4ea2212b05.tar.gz external_llvm-9875903799e292c3972a247675c8ad4ea2212b05.tar.bz2 |
Appease the clang self-host buildbot by providing a correct instantiation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ProfileInfo.cpp')
-rw-r--r-- | lib/Analysis/ProfileInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/ProfileInfo.cpp b/lib/Analysis/ProfileInfo.cpp index 9d10f4e..9704b43 100644 --- a/lib/Analysis/ProfileInfo.cpp +++ b/lib/Analysis/ProfileInfo.cpp @@ -24,6 +24,9 @@ #include <limits> using namespace llvm; +template<> +char llvm::ProfileInfoT<Function,BasicBlock>::ID = 0; + // Register the ProfileInfo interface, providing a nice name to refer to. INITIALIZE_ANALYSIS_GROUP(ProfileInfo, "Profile Information"); @@ -44,9 +47,6 @@ ProfileInfoT<Function, BasicBlock>::~ProfileInfoT() { } template<> -char ProfileInfoT<Function,BasicBlock>::ID = 0; - -template<> char ProfileInfoT<MachineFunction, MachineBasicBlock>::ID = 0; template<> |