[llvm-commits] [llvm] r83367 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

Devang Patel dpatel at apple.com
Mon Oct 5 20:15:39 PDT 2009


Author: dpatel
Date: Mon Oct  5 22:15:38 2009
New Revision: 83367

URL: http://llvm.org/viewvc/llvm-project?rev=83367&view=rev
Log:
Fix cut-n-pasto.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=83367&r1=83366&r2=83367&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Mon Oct  5 22:15:38 2009
@@ -1812,7 +1812,7 @@
 /// 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();





More information about the llvm-commits mailing list