summaryrefslogtreecommitdiff
path: root/lib/Analysis
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-10-06 22:23:20 +0000
committerOwen Anderson <resistor@mac.com>2010-10-06 22:23:20 +0000
commit9875903799e292c3972a247675c8ad4ea2212b05 (patch)
tree8d0e14d4d06cff419b1a1bcc72061b65a913ddab /lib/Analysis
parent3c38f96af2a5443d9f72fd078c2c98dd08746e51 (diff)
downloadllvm-9875903799e292c3972a247675c8ad4ea2212b05.tar.gz
llvm-9875903799e292c3972a247675c8ad4ea2212b05.tar.bz2
llvm-9875903799e292c3972a247675c8ad4ea2212b05.tar.xz
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')
-rw-r--r--lib/Analysis/ProfileInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/ProfileInfo.cpp b/lib/Analysis/ProfileInfo.cpp
index 9d10f4e924..9704b43cf5 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<>