OSDN Git Service

Revert accident check-in from r93165.
authorDevang Patel <dpatel@apple.com>
Tue, 19 Jan 2010 01:26:02 +0000 (01:26 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 19 Jan 2010 01:26:02 +0000 (01:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93832 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index 33a6273..138e974 100644 (file)
@@ -2148,14 +2148,12 @@ void DwarfDebug::endFunction(MachineFunction *MF) {
   }
 
   // Clear debug info
-  if (CurrentFnDbgScope) {
-    CurrentFnDbgScope = NULL;
-    DbgScopeMap.clear();
-    DbgScopeBeginMap.clear();
-    DbgScopeEndMap.clear();
-    ConcreteScopes.clear();
-    AbstractScopesList.clear();
-  }
+  CurrentFnDbgScope = NULL;
+  DbgScopeMap.clear();
+  DbgScopeBeginMap.clear();
+  DbgScopeEndMap.clear();
+  ConcreteScopes.clear();
+  AbstractScopesList.clear();
   Lines.clear();
   
   if (TimePassesIsEnabled)