summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-12-19 22:59:26 +0000
committerChris Lattner <sabre@nondot.org>2006-12-19 22:59:26 +0000
commit1ef9cd400d66698214b5fcffa295135729f3cc0c (patch)
treed12414af3d76cb435dc6b331ba4a79af6442c524 /llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp
parente712a5a1d2370e20328341149bef21040222abf3 (diff)
downloadbcm5719-llvm-1ef9cd400d66698214b5fcffa295135729f3cc0c.tar.gz
bcm5719-llvm-1ef9cd400d66698214b5fcffa295135729f3cc0c.zip
eliminate static ctors for Statistic objects.
llvm-svn: 32703
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp')
-rw-r--r--llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp b/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp
index 6f5bc70f058..15aef8532d5 100644
--- a/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp
+++ b/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp
@@ -12,6 +12,7 @@
//
//===----------------------------------------------------------------------===//
+#define DEBUG_TYPE "alpha-emitter"
#include "AlphaTargetMachine.h"
#include "AlphaRelocations.h"
#include "Alpha.h"
@@ -22,15 +23,9 @@
#include "llvm/CodeGen/Passes.h"
#include "llvm/Function.h"
#include "llvm/Support/Debug.h"
-#include "llvm/ADT/Statistic.h"
using namespace llvm;
namespace {
- Statistic
- NumEmitted("alpha-emitter", "Number of machine instructions emitted");
-}
-
-namespace {
class AlphaCodeEmitter : public MachineFunctionPass {
const AlphaInstrInfo *II;
TargetMachine &TM;
OpenPOWER on IntegriCloud