summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCAsmPrinter.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/PowerPC/PPCAsmPrinter.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/PowerPC/PPCAsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
index 1ffd65265f1..3a1f945b332 100644
--- a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -44,9 +44,9 @@
#include <set>
using namespace llvm;
-namespace {
- Statistic EmittedInsts("asm-printer", "Number of machine instrs printed");
+STATISTIC(EmittedInsts, "Number of machine instrs printed");
+namespace {
struct VISIBILITY_HIDDEN PPCAsmPrinter : public AsmPrinter {
std::set<std::string> FnStubs, GVStubs;
const PPCSubtarget &Subtarget;
OpenPOWER on IntegriCloud