diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-01 22:38:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-01 22:38:37 +0000 |
commit | 3cf3782bc032224ebf60ac5bc1d0e571bffda409 (patch) | |
tree | fa2a91abf0479e068c0a5b2eabbefdef9d6f9c48 /llvm/lib/Transforms/IPO/InlineSimple.cpp | |
parent | f242bec91b819354cf64fe7830cc4f7f7177d002 (diff) | |
download | bcm5719-llvm-3cf3782bc032224ebf60ac5bc1d0e571bffda409.tar.gz bcm5719-llvm-3cf3782bc032224ebf60ac5bc1d0e571bffda409.zip |
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
Diffstat (limited to 'llvm/lib/Transforms/IPO/InlineSimple.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/InlineSimple.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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 <algorithm> -#include <iostream> -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 |