[llvm] r215387 - Debug info: Remove an obsolete constructor from DebugLocEntry.

Adrian Prantl aprantl at apple.com
Mon Aug 11 14:06:03 PDT 2014


Author: adrian
Date: Mon Aug 11 16:06:03 2014
New Revision: 215387

URL: http://llvm.org/viewvc/llvm-project?rev=215387&view=rev
Log:
Debug info: Remove an obsolete constructor from DebugLocEntry.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DebugLocEntry.h

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DebugLocEntry.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DebugLocEntry.h?rev=215387&r1=215386&r2=215387&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DebugLocEntry.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DebugLocEntry.h Mon Aug 11 16:06:03 2014
@@ -94,11 +94,11 @@ public:
     const MDNode *getVariable() const { return Variable; }
   };
 private:
-  /// A list of locations/constants belonging to this entry, sorted by offset.
+  /// A nonempty list of locations/constants belonging to this entry,
+  /// sorted by offset.
   SmallVector<Value, 1> Values;
 
 public:
-  DebugLocEntry() : Begin(nullptr), End(nullptr) {}
   DebugLocEntry(const MCSymbol *B, const MCSymbol *E, Value Val)
       : Begin(B), End(E) {
     Values.push_back(std::move(Val));





More information about the llvm-commits mailing list