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
This commit is contained in:
Owen Anderson 2010-10-06 22:23:20 +00:00
parent 3c38f96af2
commit 9875903799

View File

@ -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");
@ -43,9 +46,6 @@ ProfileInfoT<Function, BasicBlock>::~ProfileInfoT() {
if (MachineProfile) delete MachineProfile;
}
template<>
char ProfileInfoT<Function,BasicBlock>::ID = 0;
template<>
char ProfileInfoT<MachineFunction, MachineBasicBlock>::ID = 0;