mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Free memory when not in use
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1618 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ce885e9f9d
commit
dee687b9f7
@ -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…
Reference in New Issue
Block a user