Skip to content

Commit 998cdae

Browse files
committed
emplace_back
1 parent e3c1804 commit 998cdae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ class HexagonMCInstrAnalysis : public MCInstrAnalysis {
764764
uint32_t Address = (getValueFromMask(ImmExt, 0xfff3fff) << 6) +
765765
getValueFromMask(LoadGotPlt, 0x1f80) + PltSectionVA +
766766
Byte;
767-
Result.push_back(std::make_pair(PltSectionVA + Byte, Address));
767+
Result.emplace_back(PltSectionVA + Byte, Address);
768768
}
769769
return Result;
770770
}

0 commit comments

Comments
 (0)