mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +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:
@@ -15,7 +15,7 @@
|
||||
// This is useful for reporting information like the number of instructions
|
||||
// simplified, optimized or removed by various transformations, like this:
|
||||
//
|
||||
// static Statistic<> NumInstEliminated("GCSE - Number of instructions killed");
|
||||
// static Statistic NumInstEliminated("GCSE - Number of instructions killed");
|
||||
//
|
||||
// Later, in the code: ++NumInstEliminated;
|
||||
//
|
||||
@@ -33,8 +33,6 @@ namespace llvm { extern std::ostream *GetLibSupportInfoOutputFile(); }
|
||||
|
||||
unsigned StatisticBase::NumStats = 0;
|
||||
|
||||
TEMPLATE_INSTANTIATION(class Statistic<unsigned>);
|
||||
|
||||
// -stats - Command line option to cause transformations to emit stats about
|
||||
// what they did.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user