switch more statistics over to STATISTIC, eliminating static ctors. Also,

delete some dead ones.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32694 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2006-12-19 22:17:40 +00:00
parent 86453c52ba
commit d216e8ba60
9 changed files with 30 additions and 39 deletions
+3 -2
View File
@@ -12,6 +12,7 @@
//
//===----------------------------------------------------------------------===//
#define DEBUG_TYPE "lowerallocs"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/UnifyFunctionExitNodes.h"
#include "llvm/Module.h"
@@ -24,9 +25,9 @@
#include "llvm/Support/Compiler.h"
using namespace llvm;
namespace {
Statistic NumLowered("lowerallocs", "Number of allocations lowered");
STATISTIC(NumLowered, "Number of allocations lowered");
namespace {
/// LowerAllocations - Turn malloc and free instructions into %malloc and
/// %free calls.
///