Tighter data structure for deleted debug labels.
[oota-llvm.git] / lib / CodeGen / DwarfWriter.cpp
index c600edbdf831b943e58d59d86850768a262370e6..7e3e4831d1e581100f244e124293c4f0cf7fcfb1 100644 (file)
@@ -2207,8 +2207,7 @@ void DwarfWriter::EmitDebugLines() const {
       const SourceLineInfo &LineInfo = LineInfos[i];
       unsigned LabelID = LineInfo.getLabelID();
       
-      // Throw out line info if label is invalid.
-      if (!DebugInfo->isLabelValid(LabelID)) continue;
+      // Source line labels are validated at the MachineDebugInfo level.
       
       if (DwarfVerbose) {
         unsigned SourceID = LineInfo.getSourceID();