From 1ef9cd400d66698214b5fcffa295135729f3cc0c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 19 Dec 2006 22:59:26 +0000 Subject: eliminate static ctors for Statistic objects. llvm-svn: 32703 --- llvm/lib/Target/PowerPC/PPCBranchSelector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Target/PowerPC/PPCBranchSelector.cpp') diff --git a/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp b/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp index 7a8b094bfff..e8274f3b9e5 100644 --- a/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp +++ b/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp @@ -15,6 +15,7 @@ // //===----------------------------------------------------------------------===// +#define DEBUG_TYPE "ppc-branch-select" #include "PPC.h" #include "PPCInstrBuilder.h" #include "PPCInstrInfo.h" @@ -27,8 +28,7 @@ #include "llvm/Support/MathExtras.h" using namespace llvm; -static Statistic NumExpanded("ppc-branch-select", - "Num branches expanded to long format"); +STATISTIC(NumExpanded, "Number of branches expanded to long format"); namespace { struct VISIBILITY_HIDDEN PPCBSel : public MachineFunctionPass { -- cgit v1.2.3