From f4c504e03c6fe4394cdf22caf428667a2f2a5fce Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 24 Oct 2014 00:43:47 +0000 Subject: DebugInfo: Remove DwarfDebug::addScopeVariable now that it's just a trivial wrapper llvm-svn: 220542 --- llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp index 0d92169587b..e9df3854e78 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp @@ -155,8 +155,7 @@ void DwarfFile::emitStrings(const MCSection *StrSection, StrPool.emit(*Asm, StrSection, OffsetSection); } -void DwarfFile::addNonArgumentScopeVariable(LexicalScope *LS, - DbgVariable *Var) { +void DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) { SmallVectorImpl &Vars = DD.getScopeVariables()[LS]; DIVariable DV = Var->getVariable(); // Variables with positive arg numbers are parameters. -- cgit v1.2.3