mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 06:29:59 +00:00
Really release memory used by functions. Patch by Chris.
llvm-svn: 10572
This commit is contained in:
parent
298e0b5243
commit
2653aa076a
@ -99,6 +99,7 @@ namespace {
|
||||
for (Function::iterator FI = F.begin(), FE = F.end(); FI != FE; ++FI)
|
||||
for_each(FI->begin(), FI->end(), freeMachineCode);
|
||||
|
||||
MachineFunction::destruct(&F);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user