summaryrefslogtreecommitdiffstats
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
commitaf08ad4350266e279eb5a936b771f6e936cb8ecd (patch)
tree0fe7d666fd7618e7c5c0191839a2b824648b5a78
parent776653a70a9cf68779da8ef866c79932a59fd938 (diff)
downloadbcm5719-llvm-af08ad4350266e279eb5a936b771f6e936cb8ecd.tar.gz
bcm5719-llvm-af08ad4350266e279eb5a936b771f6e936cb8ecd.zip
Appease the clang self-host buildbot by providing a correct instantiation.
llvm-svn: 115857
-rw-r--r--llvm/lib/Analysis/ProfileInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/ProfileInfo.cpp b/llvm/lib/Analysis/ProfileInfo.cpp
index 9d10f4e9243..9704b43cf57 100644
--- a/llvm/lib/Analysis/ProfileInfo.cpp
+++ b/llvm/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<>
OpenPOWER on IntegriCloud