mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +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:
parent
db0ec65e79
commit
127cb8e873
@ -330,8 +330,7 @@ bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) {
|
||||
return !getLabelAfterInsn(Ranges.front().second);
|
||||
}
|
||||
|
||||
void DwarfDebug::constructAbstractSubprogramScopeDIE(DwarfCompileUnit &TheCU,
|
||||
LexicalScope *Scope) {
|
||||
void DwarfDebug::constructAbstractSubprogramScopeDIE(LexicalScope *Scope) {
|
||||
assert(Scope && Scope->getScopeNode());
|
||||
assert(Scope->isAbstractScope());
|
||||
assert(!Scope->getInlinedAt());
|
||||
@ -365,7 +364,7 @@ void DwarfDebug::constructAbstractSubprogramScopeDIE(DwarfCompileUnit &TheCU,
|
||||
DIDescriptor());
|
||||
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);
|
||||
if (DIE *ObjectPointer = SPCU.createAndAddScopeChildren(Scope, *AbsDef))
|
||||
SPCU.addDIEEntry(*AbsDef, dwarf::DW_AT_object_pointer, *ObjectPointer);
|
||||
@ -1431,7 +1430,7 @@ void DwarfDebug::endFunction(const MachineFunction *MF) {
|
||||
continue;
|
||||
ensureAbstractVariableIsCreated(DV, DV.getContext());
|
||||
}
|
||||
constructAbstractSubprogramScopeDIE(TheCU, AScope);
|
||||
constructAbstractSubprogramScopeDIE(AScope);
|
||||
}
|
||||
|
||||
TheCU.constructSubprogramScopeDIE(FnScope);
|
||||
|
@ -350,8 +350,8 @@ class DwarfDebug : public AsmPrinterHandler {
|
||||
const MDNode *Scope);
|
||||
|
||||
/// \brief Construct a DIE for this abstract scope.
|
||||
void constructAbstractSubprogramScopeDIE(DwarfCompileUnit &TheCU,
|
||||
LexicalScope *Scope);
|
||||
void constructAbstractSubprogramScopeDIE(LexicalScope *Scope);
|
||||
|
||||
/// \brief Emit initial Dwarf sections with a label at the start of each one.
|
||||
void emitSectionLabels();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user