Skip to content

Commit 3206a40

Browse files
committed
Remove arg from emitRelocDirective call
1 parent ce7b95e commit 3206a40

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
@@ -1945,8 +1945,7 @@ void AsmPrinter::emitFunctionBody() {
19451945
const MCExpr *Dot = MCSymbolRefExpr::create(Sym, OutContext);
19461946
const MCExpr *Value = MCSymbolRefExpr::create(
19471947
getSymbol(MI.getOperand(0).getGlobal()), OutContext);
1948-
OutStreamer->emitRelocDirective(*Dot, "BFD_RELOC_NONE", Value, SMLoc(),
1949-
*STI);
1948+
OutStreamer->emitRelocDirective(*Dot, "BFD_RELOC_NONE", Value, SMLoc());
19501949
break;
19511950
}
19521951
default:

0 commit comments

Comments
 (0)