summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-08-11 21:06:03 +0000
committerAdrian Prantl <aprantl@apple.com>2014-08-11 21:06:03 +0000
commitbe4b5171d3663eaee01823c33148de081ffe9e80 (patch)
tree574f3aa866f69405d836c4499ba9b056fbb20686 /llvm/lib
parent1c6f2ec1121f581edf7fb54d75bb448cea15654a (diff)
downloadbcm5719-llvm-be4b5171d3663eaee01823c33148de081ffe9e80.tar.gz
bcm5719-llvm-be4b5171d3663eaee01823c33148de081ffe9e80.zip
Debug info: Remove an obsolete constructor from DebugLocEntry.
llvm-svn: 215387
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h b/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
index ba05aa71157..e90c43e9dd6 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
@@ -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));
OpenPOWER on IntegriCloud