Fix cut-n-pasto.
authorDevang Patel <dpatel@apple.com>
Tue, 6 Oct 2009 03:15:38 +0000 (03:15 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 6 Oct 2009 03:15:38 +0000 (03:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83367 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index fc3201d9204b78e01bcbabb3b2fc35163dfc823e..cd4fd768ba9878946778ced16514c5bd78d80b46 100644 (file)
@@ -1812,7 +1812,7 @@ void DwarfDebug::SetDbgScopeBeginLabels(const MachineInstr *MI, unsigned Label)
 /// end with this machine instruction.
 void DwarfDebug::SetDbgScopeEndLabels(const MachineInstr *MI, unsigned Label) {
   InsnToDbgScopeMapTy::iterator I = DbgScopeEndMap.find(MI);
-  if (I == DbgScopeBeginMap.end())
+  if (I == DbgScopeEndMap.end())
     return;
   SmallVector<DbgScope *, 2> &SD = I->second;
   for (SmallVector<DbgScope *, 2>::iterator SDI = SD.begin(), SDE = SD.end();