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 | 6ee6bbeb04b0213b3f2d60db3ba36fa71d6d9251 (patch) | |
tree | 3f4778c39f3d2974437b5fb4c5bf78eb02d2726f /lib/Transforms/IPO/InlineSimple.cpp | |
parent | 249be915df110099df2ea99657c7ccbf4e9c564c (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/InlineSimple.cpp')
-rw-r--r-- | lib/Transforms/IPO/InlineSimple.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Transforms/IPO/InlineSimple.cpp b/lib/Transforms/IPO/InlineSimple.cpp index 41f849a798..53add2ddfb 100644 --- a/lib/Transforms/IPO/InlineSimple.cpp +++ b/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 |