forked from OSchip/llvm-project
Really release memory used by functions. Patch by Chris.
llvm-svn: 10572
This commit is contained in:
parent
8834af99d6
commit
69aa1ccb07
|
@ -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