From 8a4087ddc79945383d01cf9846d906215dfab3c7 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 6 Oct 2009 03:15:38 +0000 Subject: [PATCH] Fix cut-n-pasto. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83367 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index fc3201d9204..cd4fd768ba9 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -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 &SD = I->second; for (SmallVector::iterator SDI = SD.begin(), SDE = SD.end();