diff options
author | Chris Lattner <sabre@nondot.org> | 2006-12-19 22:59:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-12-19 22:59:26 +0000 |
commit | 95b2c7da5e83670881270c1cd231a240be0556d9 (patch) | |
tree | c7202943532cb7acd4e14353a1c002dc2c388fb3 /lib/Target/X86/X86ATTAsmPrinter.cpp | |
parent | cecf56b0691b1f3e9ff4435b60f9bcbfd79f155a (diff) | |
download | llvm-95b2c7da5e83670881270c1cd231a240be0556d9.tar.gz llvm-95b2c7da5e83670881270c1cd231a240be0556d9.tar.bz2 llvm-95b2c7da5e83670881270c1cd231a240be0556d9.tar.xz |
eliminate static ctors for Statistic objects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32703 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86ATTAsmPrinter.cpp')
-rwxr-xr-x | lib/Target/X86/X86ATTAsmPrinter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/X86/X86ATTAsmPrinter.cpp b/lib/Target/X86/X86ATTAsmPrinter.cpp index f9645b80d2..f9b03b2455 100755 --- a/lib/Target/X86/X86ATTAsmPrinter.cpp +++ b/lib/Target/X86/X86ATTAsmPrinter.cpp @@ -13,6 +13,7 @@ // //===----------------------------------------------------------------------===// +#define DEBUG_TYPE "asm-printer" #include "X86ATTAsmPrinter.h" #include "X86.h" #include "X86MachineFunctionInfo.h" @@ -23,8 +24,11 @@ #include "llvm/Support/Mangler.h" #include "llvm/Target/TargetAsmInfo.h" #include "llvm/Target/TargetOptions.h" +#include "llvm/ADT/Statistic.h" using namespace llvm; +STATISTIC(EmittedInsts, "Number of machine instrs printed"); + /// getSectionForFunction - Return the section that we should emit the /// specified function body into. std::string X86ATTAsmPrinter::getSectionForFunction(const Function &F) const { |