OSDN Git Service

Debug info: Remove an obsolete constructor from DebugLocEntry.
authorAdrian Prantl <aprantl@apple.com>
Mon, 11 Aug 2014 21:06:03 +0000 (21:06 +0000)
committerAdrian Prantl <aprantl@apple.com>
Mon, 11 Aug 2014 21:06:03 +0000 (21:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215387 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DebugLocEntry.h

index ba05aa7..e90c43e 100644 (file)
@@ -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));