mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 11:17:31 +00:00
Free memory when not in use
llvm-svn: 1618
This commit is contained in:
parent
71e41586ae
commit
a494a4981d
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user