[llvm-commits] CVS: llvm/include/Support/Statistic.h

Brian Gaeke gaeke at cs.uiuc.edu
Thu Feb 12 22:50:01 PST 2004


Changes in directory llvm/include/Support:

Statistic.h updated: 1.9 -> 1.10

---
Log message:

Update the example here in the header file.

I don't know about you guys, but I rarely read the .html manuals :-)


---
Diffs of the changes:  (+2 -2)

Index: llvm/include/Support/Statistic.h
diff -u llvm/include/Support/Statistic.h:1.9 llvm/include/Support/Statistic.h:1.10
--- llvm/include/Support/Statistic.h:1.9	Wed Jan 14 17:37:22 2004
+++ llvm/include/Support/Statistic.h	Thu Feb 12 22:49:04 2004
@@ -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;
 //
 //===----------------------------------------------------------------------===//
 





More information about the llvm-commits mailing list