Detemplatize the Statistic class. The only type it is instantiated with

is 'unsigned'.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32279 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2006-12-06 17:46:33 +00:00
parent 2b4e98cb20
commit ac0b6ae358
97 changed files with 252 additions and 255 deletions

View File

@ -50,9 +50,9 @@
using namespace llvm;
namespace {
Statistic<> NumInvokes("lowerinvoke", "Number of invokes replaced");
Statistic<> NumUnwinds("lowerinvoke", "Number of unwinds replaced");
Statistic<> NumSpilled("lowerinvoke",
Statistic NumInvokes("lowerinvoke", "Number of invokes replaced");
Statistic NumUnwinds("lowerinvoke", "Number of unwinds replaced");
Statistic NumSpilled("lowerinvoke",
"Number of registers live across unwind edges");
cl::opt<bool> ExpensiveEHSupport("enable-correct-eh-support",
cl::desc("Make the -lowerinvoke pass insert expensive, but correct, EH code"));