summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-21 18:44:06 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-21 18:44:06 +0000
commit60635e39b669713fe8d7b40bf8b4b10fb7fb34d6 (patch)
treea0a124c763e644d915844e862e6216375674137f /llvm/lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp
parentdadc2b627d834acda6def76209db2c2001a079a9 (diff)
downloadbcm5719-llvm-60635e39b669713fe8d7b40bf8b4b10fb7fb34d6.tar.gz
bcm5719-llvm-60635e39b669713fe8d7b40bf8b4b10fb7fb34d6.zip
DebugInfo: Drop rest of DIDescriptor subclasses
Delete the remaining subclasses of (the already deleted) `DIDescriptor`. Part of PR23080. llvm-svn: 235404
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp b/llvm/lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp
index 1e3c5d769f1..9cb0aab7705 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp
@@ -204,7 +204,7 @@ void llvm::calculateDbgValueHistory(const MachineFunction *MF,
// Use the base variable (without any DW_OP_piece expressions)
// as index into History. The full variables including the
// piece expressions are attached to the MI.
- MDLocalVariable *RawVar = MI.getDebugVariable();
+ const MDLocalVariable *RawVar = MI.getDebugVariable();
assert(RawVar->isValidLocationForIntrinsic(MI.getDebugLoc()) &&
"Expected inlined-at fields to agree");
InlinedVariable Var(RawVar, MI.getDebugLoc()->getInlinedAt());
OpenPOWER on IntegriCloud