move ExtWeakSymbols to AsmPrinter
[oota-llvm.git] / lib / Target / X86 / X86AsmPrinter.h
index 3503e37c0bc709e82a4f893d4c09200e37ee1c74..af182fab259f3e94605bea5f7596ea9cd401ad71 100755 (executable)
 #include "llvm/CodeGen/DwarfWriter.h"
 #include "llvm/CodeGen/MachineDebugInfo.h"
 #include "llvm/ADT/Statistic.h"
+#include "llvm/Support/Compiler.h"
 #include <set>
 
 
 namespace llvm {
 
-extern Statistic<> EmittedInsts;
+extern Statistic EmittedInsts;
 
 // FIXME: Move this to CodeGen/AsmPrinter.h
 namespace PICStyle {
@@ -84,7 +85,7 @@ struct VISIBILITY_HIDDEN X86SharedAsmPrinter : public AsmPrinter {
 
   // Necessary for dllexport support
   std::set<std::string> DLLExportedFns, DLLExportedGVs;
-  
+
   inline static bool isScale(const MachineOperand &MO) {
     return MO.isImmediate() &&
           (MO.getImmedValue() == 1 || MO.getImmedValue() == 2 ||