From 3cf3782bc032224ebf60ac5bc1d0e571bffda409 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 1 Oct 2002 22:38:37 +0000 Subject: Updates to work with recent Statistic's changes: * Renamed StatisticReporter.h/cpp to Statistic.h/cpp * Broke constructor to take two const char * arguments instead of one, so that indendation can be taken care of automatically. * Sort the list by pass name when printing * Make sure to print all statistics as a group, instead of randomly when the statistics dtors are called. * Updated ProgrammersManual with new semantics. llvm-svn: 4001 --- llvm/lib/Transforms/IPO/InlineSimple.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'llvm/lib/Transforms/IPO/InlineSimple.cpp') diff --git a/llvm/lib/Transforms/IPO/InlineSimple.cpp b/llvm/lib/Transforms/IPO/InlineSimple.cpp index 41f849a7988..53add2ddfb8 100644 --- a/llvm/lib/Transforms/IPO/InlineSimple.cpp +++ b/llvm/lib/Transforms/IPO/InlineSimple.cpp @@ -25,11 +25,10 @@ #include "llvm/iPHINode.h" #include "llvm/iOther.h" #include "llvm/Type.h" -#include "Support/StatisticReporter.h" +#include "Support/Statistic.h" #include -#include -static Statistic<> NumInlined("inline\t\t- Number of functions inlined"); +static Statistic<> NumInlined("inline", "Number of functions inlined"); using std::cerr; // RemapInstruction - Convert the instruction operands from referencing the -- cgit v1.2.3