mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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:
@@ -28,12 +28,12 @@
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
Statistic<> NumInstRemoved("gcse", "Number of instructions removed");
|
||||
Statistic<> NumLoadRemoved("gcse", "Number of loads removed");
|
||||
Statistic<> NumCallRemoved("gcse", "Number of calls removed");
|
||||
Statistic<> NumNonInsts ("gcse", "Number of instructions removed due "
|
||||
Statistic NumInstRemoved("gcse", "Number of instructions removed");
|
||||
Statistic NumLoadRemoved("gcse", "Number of loads removed");
|
||||
Statistic NumCallRemoved("gcse", "Number of calls removed");
|
||||
Statistic NumNonInsts ("gcse", "Number of instructions removed due "
|
||||
"to non-instruction values");
|
||||
Statistic<> NumArgsRepl ("gcse", "Number of function arguments replaced "
|
||||
Statistic NumArgsRepl ("gcse", "Number of function arguments replaced "
|
||||
"with constant values");
|
||||
|
||||
struct GCSE : public FunctionPass {
|
||||
|
Reference in New Issue
Block a user