[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp PPCBranchSelector.cpp PPCISelDAGToDAG.cpp
Chris Lattner
sabre at nondot.org
Wed Dec 6 09:47:28 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCAsmPrinter.cpp updated: 1.216 -> 1.217
PPCBranchSelector.cpp updated: 1.39 -> 1.40
PPCISelDAGToDAG.cpp updated: 1.225 -> 1.226
---
Log message:
Detemplatize the Statistic class. The only type it is instantiated with
is 'unsigned'.
---
Diffs of the changes: (+3 -3)
PPCAsmPrinter.cpp | 2 +-
PPCBranchSelector.cpp | 2 +-
PPCISelDAGToDAG.cpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.216 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.217
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.216 Fri Dec 1 14:47:11 2006
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp Wed Dec 6 11:46:32 2006
@@ -46,7 +46,7 @@
using namespace llvm;
namespace {
- Statistic<> EmittedInsts("asm-printer", "Number of machine instrs printed");
+ Statistic EmittedInsts("asm-printer", "Number of machine instrs printed");
struct VISIBILITY_HIDDEN PPCAsmPrinter : public AsmPrinter {
std::set<std::string> FnStubs, GVStubs;
Index: llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
diff -u llvm/lib/Target/PowerPC/PPCBranchSelector.cpp:1.39 llvm/lib/Target/PowerPC/PPCBranchSelector.cpp:1.40
--- llvm/lib/Target/PowerPC/PPCBranchSelector.cpp:1.39 Mon Nov 27 17:37:22 2006
+++ llvm/lib/Target/PowerPC/PPCBranchSelector.cpp Wed Dec 6 11:46:32 2006
@@ -27,7 +27,7 @@
#include "llvm/Support/MathExtras.h"
using namespace llvm;
-static Statistic<> NumExpanded("ppc-branch-select",
+static Statistic NumExpanded("ppc-branch-select",
"Num branches expanded to long format");
namespace {
Index: llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:1.225 llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:1.226
--- llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:1.225 Mon Nov 27 17:37:22 2006
+++ llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp Wed Dec 6 11:46:32 2006
@@ -36,7 +36,7 @@
using namespace llvm;
namespace {
- Statistic<> FrameOff("ppc-codegen", "Number of frame idx offsets collapsed");
+ Statistic FrameOff("ppc-codegen", "Number of frame idx offsets collapsed");
//===--------------------------------------------------------------------===//
/// PPCDAGToDAGISel - PPC specific code to select PPC machine
More information about the llvm-commits
mailing list