diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-01 06:29:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-01 06:29:07 +0000 |
commit | 9a60c532a8e6cbe62e59980994967501e47162d5 (patch) | |
tree | 17ddb4a6c30230598567451db9f43ce19a8bdd10 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | c85535c8bed444502b6b266b590bb735cfd06aeb (diff) | |
download | bcm5719-llvm-9a60c532a8e6cbe62e59980994967501e47162d5.tar.gz bcm5719-llvm-9a60c532a8e6cbe62e59980994967501e47162d5.zip |
Make sure that we destroy the MBB's, with all of their instructions, before
any other data structures
llvm-svn: 14524
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 51d88ff3b85..f9b8bbbd12f 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -115,6 +115,7 @@ MachineFunction::MachineFunction(const Function *F, } MachineFunction::~MachineFunction() { + BasicBlocks.clear(); delete SSARegMapping; delete MFInfo; delete FrameInfo; |