Really release memory used by functions. Patch by Chris.

llvm-svn: 10572
This commit is contained in:
Misha Brukman 2003-12-22 03:47:58 +00:00
parent 8834af99d6
commit 69aa1ccb07
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}
};