OSDN Git Service

The statistic needs to be in the correct namespace.
authorNate Begeman <natebegeman@mac.com>
Fri, 1 Jul 2005 23:56:38 +0000 (23:56 +0000)
committerNate Begeman <natebegeman@mac.com>
Fri, 1 Jul 2005 23:56:38 +0000 (23:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22327 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86AsmPrinter.cpp

index a5b82b5..332dda0 100644 (file)
@@ -25,7 +25,8 @@
 using namespace llvm;
 using namespace x86;
 
-Statistic<> EmittedInsts("asm-printer", "Number of machine instrs printed");
+Statistic<> llvm::x86::EmittedInsts("asm-printer", 
+                                    "Number of machine instrs printed");
 
 enum AsmWriterFlavorTy { att, intel };
 cl::opt<AsmWriterFlavorTy>