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 c85535c8be
commit 9a60c532a8

View File

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