Skip to content

Commit d6ad692

Browse files
committed
Remove arg from emitRelocDirective call
1 parent 53371dd commit d6ad692

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,8 +2073,7 @@ void AsmPrinter::emitFunctionBody() {
20732073
const MCExpr *Dot = MCSymbolRefExpr::create(Sym, OutContext);
20742074
const MCExpr *Value = MCSymbolRefExpr::create(
20752075
getSymbol(MI.getOperand(0).getGlobal()), OutContext);
2076-
OutStreamer->emitRelocDirective(*Dot, "BFD_RELOC_NONE", Value, SMLoc(),
2077-
*STI);
2076+
OutStreamer->emitRelocDirective(*Dot, "BFD_RELOC_NONE", Value, SMLoc());
20782077
break;
20792078
}
20802079
default:

0 commit comments

Comments
 (0)