Skip to content

Commit bacce89

Browse files
committed
Remove arg from emitRelocDirective call
1 parent a53a0da commit bacce89

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
@@ -2044,8 +2044,7 @@ void AsmPrinter::emitFunctionBody() {
20442044
const MCExpr *Dot = MCSymbolRefExpr::create(Sym, OutContext);
20452045
const MCExpr *Value = MCSymbolRefExpr::create(
20462046
getSymbol(MI.getOperand(0).getGlobal()), OutContext);
2047-
OutStreamer->emitRelocDirective(*Dot, "BFD_RELOC_NONE", Value, SMLoc(),
2048-
*STI);
2047+
OutStreamer->emitRelocDirective(*Dot, "BFD_RELOC_NONE", Value, SMLoc());
20492048
break;
20502049
}
20512050
default:

0 commit comments

Comments
 (0)