diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-27 01:12:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-27 01:12:15 +0000 |
commit | 97f51a3024a72ef8500e95b90e6361e6783160fd (patch) | |
tree | 4fab9417a9dc40dd475d7503281ef4e1c3a545d9 /include/llvm/Analysis/DataStructure.h | |
parent | 9a740fdf2165e263da98480d9c24f1803f94ef0c (diff) |
* Standardize how analysis results/passes as printed with the print() virtual
methods
* Eliminate AnalysisID: Now it is just a typedef for const PassInfo*
* Simplify how AnalysisID's are initialized
* Eliminate Analysis/Writer.cpp/.h: incorporate printing functionality into
the analyses themselves.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/DataStructure.h')
-rw-r--r-- | include/llvm/Analysis/DataStructure.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Analysis/DataStructure.h b/include/llvm/Analysis/DataStructure.h index c611574ead..dda0adb214 100644 --- a/include/llvm/Analysis/DataStructure.h +++ b/include/llvm/Analysis/DataStructure.h @@ -342,7 +342,7 @@ public: } // print - Print out the analysis results... - void print(std::ostream &O, Module *M) const; + void print(std::ostream &O, const Module *M) const; // If the pass pipeline is done with this pass, we can release our memory... virtual void releaseMemory(); @@ -377,7 +377,7 @@ public: } // print - Print out the analysis results... - void print(std::ostream &O, Module *M) const; + void print(std::ostream &O, const Module *M) const; // If the pass pipeline is done with this pass, we can release our memory... virtual void releaseMemory(); @@ -419,7 +419,7 @@ public: } // print - Print out the analysis results... - void print(std::ostream &O, Module *M) const; + void print(std::ostream &O, const Module *M) const; // If the pass pipeline is done with this pass, we can release our memory... virtual void releaseMemory(); |