mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
Remove unused parameter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219440 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -330,8 +330,7 @@ bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) {
|
|||||||
return !getLabelAfterInsn(Ranges.front().second);
|
return !getLabelAfterInsn(Ranges.front().second);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DwarfDebug::constructAbstractSubprogramScopeDIE(DwarfCompileUnit &TheCU,
|
void DwarfDebug::constructAbstractSubprogramScopeDIE(LexicalScope *Scope) {
|
||||||
LexicalScope *Scope) {
|
|
||||||
assert(Scope && Scope->getScopeNode());
|
assert(Scope && Scope->getScopeNode());
|
||||||
assert(Scope->isAbstractScope());
|
assert(Scope->isAbstractScope());
|
||||||
assert(!Scope->getInlinedAt());
|
assert(!Scope->getInlinedAt());
|
||||||
@ -365,7 +364,7 @@ void DwarfDebug::constructAbstractSubprogramScopeDIE(DwarfCompileUnit &TheCU,
|
|||||||
DIDescriptor());
|
DIDescriptor());
|
||||||
SPCU.applySubprogramAttributesToDefinition(SP, *AbsDef);
|
SPCU.applySubprogramAttributesToDefinition(SP, *AbsDef);
|
||||||
|
|
||||||
if (TheCU.getCUNode().getEmissionKind() != DIBuilder::LineTablesOnly)
|
if (SPCU.getCUNode().getEmissionKind() != DIBuilder::LineTablesOnly)
|
||||||
SPCU.addUInt(*AbsDef, dwarf::DW_AT_inline, None, dwarf::DW_INL_inlined);
|
SPCU.addUInt(*AbsDef, dwarf::DW_AT_inline, None, dwarf::DW_INL_inlined);
|
||||||
if (DIE *ObjectPointer = SPCU.createAndAddScopeChildren(Scope, *AbsDef))
|
if (DIE *ObjectPointer = SPCU.createAndAddScopeChildren(Scope, *AbsDef))
|
||||||
SPCU.addDIEEntry(*AbsDef, dwarf::DW_AT_object_pointer, *ObjectPointer);
|
SPCU.addDIEEntry(*AbsDef, dwarf::DW_AT_object_pointer, *ObjectPointer);
|
||||||
@ -1431,7 +1430,7 @@ void DwarfDebug::endFunction(const MachineFunction *MF) {
|
|||||||
continue;
|
continue;
|
||||||
ensureAbstractVariableIsCreated(DV, DV.getContext());
|
ensureAbstractVariableIsCreated(DV, DV.getContext());
|
||||||
}
|
}
|
||||||
constructAbstractSubprogramScopeDIE(TheCU, AScope);
|
constructAbstractSubprogramScopeDIE(AScope);
|
||||||
}
|
}
|
||||||
|
|
||||||
TheCU.constructSubprogramScopeDIE(FnScope);
|
TheCU.constructSubprogramScopeDIE(FnScope);
|
||||||
|
@ -350,8 +350,8 @@ class DwarfDebug : public AsmPrinterHandler {
|
|||||||
const MDNode *Scope);
|
const MDNode *Scope);
|
||||||
|
|
||||||
/// \brief Construct a DIE for this abstract scope.
|
/// \brief Construct a DIE for this abstract scope.
|
||||||
void constructAbstractSubprogramScopeDIE(DwarfCompileUnit &TheCU,
|
void constructAbstractSubprogramScopeDIE(LexicalScope *Scope);
|
||||||
LexicalScope *Scope);
|
|
||||||
/// \brief Emit initial Dwarf sections with a label at the start of each one.
|
/// \brief Emit initial Dwarf sections with a label at the start of each one.
|
||||||
void emitSectionLabels();
|
void emitSectionLabels();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user