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 | 1ef9cd400d66698214b5fcffa295135729f3cc0c (patch) | |
tree | d12414af3d76cb435dc6b331ba4a79af6442c524 /llvm/lib/Target/IA64/IA64Bundling.cpp | |
parent | e712a5a1d2370e20328341149bef21040222abf3 (diff) | |
download | bcm5719-llvm-1ef9cd400d66698214b5fcffa295135729f3cc0c.tar.gz bcm5719-llvm-1ef9cd400d66698214b5fcffa295135729f3cc0c.zip |
eliminate static ctors for Statistic objects.
llvm-svn: 32703
Diffstat (limited to 'llvm/lib/Target/IA64/IA64Bundling.cpp')
-rw-r--r-- | llvm/lib/Target/IA64/IA64Bundling.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/IA64/IA64Bundling.cpp b/llvm/lib/Target/IA64/IA64Bundling.cpp index 9b5e4c741e4..7e37df022d7 100644 --- a/llvm/lib/Target/IA64/IA64Bundling.cpp +++ b/llvm/lib/Target/IA64/IA64Bundling.cpp @@ -20,6 +20,7 @@ // //===----------------------------------------------------------------------===// +#define DEBUG_TYPE "ia64-codegen" #include "IA64.h" #include "IA64InstrInfo.h" #include "IA64TargetMachine.h" @@ -31,9 +32,9 @@ #include <set> using namespace llvm; -namespace { - Statistic StopBitsAdded("ia64-codegen", "Number of stop bits added"); +STATISTIC(StopBitsAdded, "Number of stop bits added"); +namespace { struct IA64BundlingPass : public MachineFunctionPass { /// Target machine description which we query for reg. names, data /// layout, etc. |