mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[ORC] Remove a spurious reinterpret_cast.
This commit is contained in:
parent
5ef8b0d849
commit
16e50e0984
@ -461,9 +461,7 @@ void OrcI386::writeTrampolines(char *TrampolineWorkingMem,
|
||||
assert((ResolverAddr >> 32) == 0 && "ResolverAddr out of range");
|
||||
|
||||
uint64_t CallRelImm = 0xF1C4C400000000e8;
|
||||
uint64_t ResolverRel =
|
||||
ResolverAddr - reinterpret_cast<uint64_t>(TrampolineBlockTargetAddress) -
|
||||
5;
|
||||
uint64_t ResolverRel = ResolverAddr - TrampolineBlockTargetAddress - 5;
|
||||
|
||||
uint64_t *Trampolines = reinterpret_cast<uint64_t *>(TrampolineWorkingMem);
|
||||
for (unsigned I = 0; I < NumTrampolines; ++I, ResolverRel -= TrampolineSize)
|
||||
|
Loading…
Reference in New Issue
Block a user