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

any other data structures

llvm-svn: 14524
This commit is contained in:
Chris Lattner 2004-07-01 06:29:07 +00:00
parent 93bf3a5985
commit 91662f48b8

View File

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