OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d7dd8e
)
Account for time consumed by releaseMemory() properly.
author
Devang Patel
<dpatel@apple.com>
Mon, 5 Mar 2007 18:20:51 +0000
(18:20 +0000)
committer
Devang Patel
<dpatel@apple.com>
Mon, 5 Mar 2007 18:20:51 +0000
(18:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34932
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/PassManager.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/PassManager.cpp
b/lib/VMCore/PassManager.cpp
index
470428f
..
bca5297
100644
(file)
--- a/
lib/VMCore/PassManager.cpp
+++ b/
lib/VMCore/PassManager.cpp
@@
-564,9
+564,9
@@
void PMDataManager::removeDeadPasses(Pass *P, std::string &Msg) {
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());