There is no need to fall through after processing DBG_VALUE machine instruction.
authorDevang Patel <dpatel@apple.com>
Tue, 30 Mar 2010 18:07:00 +0000 (18:07 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 30 Mar 2010 18:07:00 +0000 (18:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99899 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index d76de693dff93c233225e996a42418613b9dfc3b..d3d5b2992d237c49251c407656af7f0df902c8ee 100644 (file)
@@ -2067,6 +2067,7 @@ void DwarfDebug::beginScope(const MachineInstr *MI) {
                                          DILoc.getScope().getNode());
       DI->second->setDbgValueLabel(Label);
     }
+    return;
   }
 
   // Emit a label to indicate location change. This is used for line