[llvm-commits] CVS: llvm/lib/CodeGen/MachineFunction.cpp
    Chris Lattner 
    lattner at cs.uiuc.edu
       
    Thu Jul  1 01:30:02 PDT 2004
    
    
  
Changes in directory llvm/lib/CodeGen:
MachineFunction.cpp updated: 1.61 -> 1.62
---
Log message:
Make sure that we destroy the MBB's, with all of their instructions, before
any other data structures
---
Diffs of the changes:  (+1 -0)
Index: llvm/lib/CodeGen/MachineFunction.cpp
diff -u llvm/lib/CodeGen/MachineFunction.cpp:1.61 llvm/lib/CodeGen/MachineFunction.cpp:1.62
--- llvm/lib/CodeGen/MachineFunction.cpp:1.61	Thu Jul  1 01:02:07 2004
+++ llvm/lib/CodeGen/MachineFunction.cpp	Thu Jul  1 01:29:07 2004
@@ -115,6 +115,7 @@
 }
 
 MachineFunction::~MachineFunction() { 
+  BasicBlocks.clear();
   delete SSARegMapping;
   delete MFInfo;
   delete FrameInfo;
    
    
More information about the llvm-commits
mailing list