commit | 9a60c532a8e6cbe62e59980994967501e47162d5 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Jul 01 06:29:07 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Jul 01 06:29:07 2004 +0000 |
tree | 17ddb4a6c30230598567451db9f43ce19a8bdd10 | |
parent | c85535c8bed444502b6b266b590bb735cfd06aeb [diff] [blame] |
Make sure that we destroy the MBB's, with all of their instructions, before any other data structures llvm-svn: 14524
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 51d88ff..f9b8bbb 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -115,6 +115,7 @@ } MachineFunction::~MachineFunction() { + BasicBlocks.clear(); delete SSARegMapping; delete MFInfo; delete FrameInfo;