[llvm-commits] [llvm] r115857 - /llvm/trunk/lib/Analysis/ProfileInfo.cpp

Owen Anderson resistor at mac.com
Wed Oct 6 15:23:20 PDT 2010


Author: resistor
Date: Wed Oct  6 17:23:20 2010
New Revision: 115857

URL: http://llvm.org/viewvc/llvm-project?rev=115857&view=rev
Log:
Appease the clang self-host buildbot by providing a correct instantiation.

Modified:
    llvm/trunk/lib/Analysis/ProfileInfo.cpp

Modified: llvm/trunk/lib/Analysis/ProfileInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ProfileInfo.cpp?rev=115857&r1=115856&r2=115857&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ProfileInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/ProfileInfo.cpp Wed Oct  6 17:23:20 2010
@@ -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 @@
 }
 
 template<>
-char ProfileInfoT<Function,BasicBlock>::ID = 0;
-
-template<>
 char ProfileInfoT<MachineFunction, MachineBasicBlock>::ID = 0;
 
 template<>





More information about the llvm-commits mailing list