From: Brian Gaeke Date: Fri, 13 Feb 2004 04:49:04 +0000 (+0000) Subject: Update the example here in the header file. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a0031cc08c73717341e53c9d5c6c9daa4fcdf5f7;p=oota-llvm.git Update the example here in the header file. 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 --- diff --git a/include/Support/Statistic.h b/include/Support/Statistic.h index 9da645ba4e5..c95db3f82cb 100644 --- a/include/Support/Statistic.h +++ b/include/Support/Statistic.h @@ -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; // //===----------------------------------------------------------------------===// diff --git a/include/llvm/ADT/Statistic.h b/include/llvm/ADT/Statistic.h index 9da645ba4e5..c95db3f82cb 100644 --- a/include/llvm/ADT/Statistic.h +++ b/include/llvm/ADT/Statistic.h @@ -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; // //===----------------------------------------------------------------------===//