Update the example here in the header file.
authorBrian Gaeke <gaeke@uiuc.edu>
Fri, 13 Feb 2004 04:49:04 +0000 (04:49 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Fri, 13 Feb 2004 04:49:04 +0000 (04:49 +0000)
I don't know about you guys, but I rarely read the .html manuals :-)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11366 91177308-0d34-0410-b5e6-96231b3b80d8

include/Support/Statistic.h
include/llvm/ADT/Statistic.h

index 9da645ba4e519958ebcc8962f049ab6a81f15d44..c95db3f82cb9349d2fa5bd2ad9775ee67c4f6009 100644 (file)
@@ -15,9 +15,9 @@
 // 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<> NumInstsKilled("gcse", "Number of instructions killed");
 //
-// Later, in the code: ++NumInstEliminated;
+// Later, in the code: ++NumInstsKilled;
 //
 //===----------------------------------------------------------------------===//
 
index 9da645ba4e519958ebcc8962f049ab6a81f15d44..c95db3f82cb9349d2fa5bd2ad9775ee67c4f6009 100644 (file)
@@ -15,9 +15,9 @@
 // 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<> NumInstsKilled("gcse", "Number of instructions killed");
 //
-// Later, in the code: ++NumInstEliminated;
+// Later, in the code: ++NumInstsKilled;
 //
 //===----------------------------------------------------------------------===//