projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce885e9
)
Free memory when not in use
author
Chris Lattner
<sabre@nondot.org>
Thu, 31 Jan 2002 18:32:49 +0000
(18:32 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 31 Jan 2002 18:32:49 +0000
(18:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1618
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Analysis/CallGraph.h
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/CallGraph.h
b/include/llvm/Analysis/CallGraph.h
index 6fea49bb6fe2822c120a7cd0733b0e0fc641ee76..cc6d023d6dd2a1864bc29bbfebded5cfe248b6dd 100644
(file)
--- a/
include/llvm/Analysis/CallGraph.h
+++ b/
include/llvm/Analysis/CallGraph.h
@@
-122,6
+122,11
@@
public:
Provided.push_back(ID);
}
+ // releaseMemory - Data structures can be large, so free memory agressively.
+ virtual void releaseMemory() {
+ destroy();
+ }
+
private: // Implementation of CallGraph construction
void destroy();