Make sure that we destroy the MBB's, with all of their instructions, before

any other data structures


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14524 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-07-01 06:29:07 +00:00
parent 8490f9c92e
commit 4b9a400674

View File

@ -115,6 +115,7 @@ MachineFunction::MachineFunction(const Function *F,
}
MachineFunction::~MachineFunction() {
BasicBlocks.clear();
delete SSARegMapping;
delete MFInfo;
delete FrameInfo;