From 700b873130d0865283319f6e328f1887b19f25f0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 6 Dec 2006 17:46:33 +0000 Subject: Detemplatize the Statistic class. The only type it is instantiated with is 'unsigned'. llvm-svn: 32279 --- llvm/lib/CodeGen/RegAllocLinearScan.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp') diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp index 170febcc50b..1977a5489de 100644 --- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp +++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp @@ -37,9 +37,9 @@ using namespace llvm; namespace { - static Statistic<> NumIters + static Statistic NumIters ("regalloc", "Number of iterations performed"); - static Statistic<> NumBacktracks + static Statistic NumBacktracks ("regalloc", "Number of times we had to backtrack"); static RegisterRegAlloc -- cgit v1.2.3