Skip to content

Commit 7eb65f4

Browse files
committed
[DebugInfo] Delete a now-unused function after 5328c73
1 parent 616e4c4 commit 7eb65f4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

llvm/lib/Transforms/Utils/Local.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1664,14 +1664,6 @@ static void insertDbgValueOrDbgVariableRecord(DIBuilder &Builder, Value *DV,
16641664
Instr->getParent()->insertDbgRecordBefore(DVRec, Instr);
16651665
}
16661666

1667-
static void insertDbgValueOrDbgVariableRecordAfter(
1668-
DIBuilder &Builder, Value *DV, DILocalVariable *DIVar, DIExpression *DIExpr,
1669-
const DebugLoc &NewLoc, Instruction *Instr) {
1670-
BasicBlock::iterator NextIt = std::next(Instr->getIterator());
1671-
NextIt.setHeadBit(true);
1672-
insertDbgValueOrDbgVariableRecord(Builder, DV, DIVar, DIExpr, NewLoc, NextIt);
1673-
}
1674-
16751667
static DIExpression *dropInitialDeref(const DIExpression *DIExpr) {
16761668
int NumEltDropped = DIExpr->getElements()[0] == dwarf::DW_OP_LLVM_arg ? 3 : 1;
16771669
return DIExpression::get(DIExpr->getContext(),

0 commit comments

Comments
 (0)