Skip to content

Commit a6220fe

Browse files
committed
Remove arg from emitRelocDirective call
1 parent 20f2ad0 commit a6220fe

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
@@ -2046,8 +2046,7 @@ void AsmPrinter::emitFunctionBody() {
20462046
const MCExpr *Dot = MCSymbolRefExpr::create(Sym, OutContext);
20472047
const MCExpr *Value = MCSymbolRefExpr::create(
20482048
getSymbol(MI.getOperand(0).getGlobal()), OutContext);
2049-
OutStreamer->emitRelocDirective(*Dot, "BFD_RELOC_NONE", Value, SMLoc(),
2050-
*STI);
2049+
OutStreamer->emitRelocDirective(*Dot, "BFD_RELOC_NONE", Value, SMLoc());
20512050
break;
20522051
}
20532052
default:

0 commit comments

Comments
 (0)