summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-06-13 22:29:31 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-06-13 22:29:31 +0000
commitbe7c677008f7e9a59470536fe29e9b19f5d27eb1 (patch)
treec0e013f90f9ed6960825383f8693fac873d87d72 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parenteb1a27239cccace33c4b89571af442ae0584f832 (diff)
downloadbcm5719-llvm-be7c677008f7e9a59470536fe29e9b19f5d27eb1.tar.gz
bcm5719-llvm-be7c677008f7e9a59470536fe29e9b19f5d27eb1.zip
DwarfDebug::getExistingAbstractVariable: constify an existing reference parameter that didn't need to be mutated.
llvm-svn: 210944
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 1284d1c9220..1eb88b9178d 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1066,7 +1066,7 @@ void DwarfDebug::endModule() {
}
// Find abstract variable, if any, associated with Var.
-DbgVariable *DwarfDebug::getExistingAbstractVariable(DIVariable &DV,
+DbgVariable *DwarfDebug::getExistingAbstractVariable(const DIVariable &DV,
DIVariable &Cleansed) {
LLVMContext &Ctx = DV->getContext();
// More then one inlined variable corresponds to one abstract variable.
OpenPOWER on IntegriCloud