Support for non-landing pad exception handling.
[oota-llvm.git] / lib / CodeGen / MachineModuleInfo.cpp
index 15ea9b828de207540b1f55b6610d52d72ee9cd06..4cc2a150ebc9caf87328135e5e55e964ffc1e2ee 100644 (file)
@@ -1505,6 +1505,9 @@ void MachineModuleInfo::EndFunction() {
     RootScope = NULL;
   }
   
+  // Clean up line info.
+  Lines.clear();
+
   // Clean up frame info.
   FrameMoves.clear();
 }