[llvm-commits] CVS: llvm/lib/VMCore/PassManager.cpp
Devang Patel
dpatel at apple.com
Mon Mar 5 10:21:08 PST 2007
Changes in directory llvm/lib/VMCore:
PassManager.cpp updated: 1.139 -> 1.140
---
Log message:
Account for time consumed by releaseMemory() properly.
---
Diffs of the changes: (+2 -2)
PassManager.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/VMCore/PassManager.cpp
diff -u llvm/lib/VMCore/PassManager.cpp:1.139 llvm/lib/VMCore/PassManager.cpp:1.140
--- llvm/lib/VMCore/PassManager.cpp:1.139 Sun Mar 4 18:00:42 2007
+++ llvm/lib/VMCore/PassManager.cpp Mon Mar 5 12:20:51 2007
@@ -564,9 +564,9 @@
std::string Msg1 = " Freeing Pass '";
dumpPassInfo(*I, Msg1, Msg);
- if (TheTimeInfo) TheTimeInfo->passStarted(P);
+ if (TheTimeInfo) TheTimeInfo->passStarted(*I);
(*I)->releaseMemory();
- if (TheTimeInfo) TheTimeInfo->passEnded(P);
+ if (TheTimeInfo) TheTimeInfo->passEnded(*I);
std::map<AnalysisID, Pass*>::iterator Pos =
AvailableAnalysis.find((*I)->getPassInfo());
More information about the llvm-commits
mailing list