diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-22 05:52:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-22 05:52:51 +0000 |
commit | c5e5b3c830db331974ddae3d8fb98e678b3a7152 (patch) | |
tree | 0642a9994b3e0d73594be5069d732e4b927807a0 | |
parent | 5a66cb9a4450e5b7b0f5f586ab47a529c478223b (diff) | |
download | external_llvm-c5e5b3c830db331974ddae3d8fb98e678b3a7152.zip external_llvm-c5e5b3c830db331974ddae3d8fb98e678b3a7152.tar.gz external_llvm-c5e5b3c830db331974ddae3d8fb98e678b3a7152.tar.bz2 |
drop the pass name from the output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94158 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Analysis/AliasAnalysisCounter.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Analysis/AliasAnalysisCounter.cpp b/lib/Analysis/AliasAnalysisCounter.cpp index cfb3549..761cd46 100644 --- a/lib/Analysis/AliasAnalysisCounter.cpp +++ b/lib/Analysis/AliasAnalysisCounter.cpp @@ -31,7 +31,6 @@ namespace { class AliasAnalysisCounter : public ModulePass, public AliasAnalysis { unsigned No, May, Must; unsigned NoMR, JustRef, JustMod, MR; - const char *Name; Module *M; public: static char ID; // Class identification, replacement for typeinfo @@ -49,7 +48,7 @@ namespace { unsigned MRSum = NoMR+JustRef+JustMod+MR; if (AASum + MRSum) { // Print a report if any counted queries occurred... errs() << "\n===== Alias Analysis Counter Report =====\n" - << " Analysis counted: " << Name << "\n" + << " Analysis counted:\n" << " " << AASum << " Total Alias Queries Performed\n"; if (AASum) { printLine("no alias", No, AASum); @@ -75,7 +74,6 @@ namespace { bool runOnModule(Module &M) { this->M = &M; InitializeAliasAnalysis(this); - Name = dynamic_cast<Pass*>(&getAnalysis<AliasAnalysis>())->getPassName(); return false; } |