mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
DwarfDebug::getExistingAbstractVariable: constify an existing reference parameter that didn't need to be mutated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210944 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0fcb9cb1c1
commit
9907af99d4
@ -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.
|
||||
|
@ -344,7 +344,7 @@ class DwarfDebug : public AsmPrinterHandler {
|
||||
}
|
||||
|
||||
/// \brief Find abstract variable associated with Var.
|
||||
DbgVariable *getExistingAbstractVariable(DIVariable &DV,
|
||||
DbgVariable *getExistingAbstractVariable(const DIVariable &DV,
|
||||
DIVariable &Cleansed);
|
||||
DbgVariable *createAbstractVariable(DIVariable &DV, LexicalScope *Scope);
|
||||
DbgVariable *getOrCreateAbstractVariable(DIVariable &Var,
|
||||
|
Loading…
Reference in New Issue
Block a user