mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-09 01:29:52 +00:00
Remove unnecessary cast.
llvm-svn: 256189
This commit is contained in:
parent
ce8581389b
commit
0234640882
@ -305,7 +305,7 @@ template <class ELFT> void RelocationSection<ELFT>::writeTo(uint8_t *Buf) {
|
||||
else if (CanBePreempted || IsDynRelative)
|
||||
Addend = OrigAddend;
|
||||
else if (Body)
|
||||
Addend = getSymVA<ELFT>(cast<ELFSymbolBody<ELFT>>(*Body)) + OrigAddend;
|
||||
Addend = getSymVA<ELFT>(*Body) + OrigAddend;
|
||||
else if (IsRela)
|
||||
Addend =
|
||||
getLocalRelTarget(File, static_cast<const Elf_Rela &>(RI),
|
||||
|
Loading…
Reference in New Issue
Block a user