aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/CodeGen/MachineFunction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp
index 51d88ff..f9b8bbb 100644
--- a/lib/CodeGen/MachineFunction.cpp
+++ b/lib/CodeGen/MachineFunction.cpp
@@ -115,6 +115,7 @@ MachineFunction::MachineFunction(const Function *F,
}
MachineFunction::~MachineFunction() {
+ BasicBlocks.clear();
delete SSARegMapping;
delete MFInfo;
delete FrameInfo;