forked from OSchip/llvm-project
[ELF] - Removed excessive reference from pointer arguments. NFC.
llvm-svn: 273155
This commit is contained in:
parent
086fcae95e
commit
d5d544757e
|
@ -1268,8 +1268,7 @@ static uint16_t getELFType() {
|
|||
// to each section. This function fixes some predefined absolute
|
||||
// symbol values that depend on section address and size.
|
||||
template <class ELFT> void Writer<ELFT>::fixAbsoluteSymbols() {
|
||||
auto Set = [](DefinedRegular<ELFT> *&S1, DefinedRegular<ELFT> *&S2,
|
||||
uintX_t V) {
|
||||
auto Set = [](DefinedRegular<ELFT> *S1, DefinedRegular<ELFT> *S2, uintX_t V) {
|
||||
if (S1)
|
||||
S1->Value = V;
|
||||
if (S2)
|
||||
|
|
Loading…
Reference in New Issue