mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-07 11:38:04 +00:00
Remove the incorrect assertion. We don't have enough information before relocation to set U bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59170 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bc8dda83ef
commit
cb5798285a
@ -246,8 +246,7 @@ void ARMJITInfo::relocate(void *Function, MachineRelocation *MR,
|
||||
*((intptr_t*)RelocPos) |= 1 << ARMII::U_BitShift;
|
||||
else {
|
||||
// Otherwise, obtain the absolute value and set bit U(23) to 0.
|
||||
assert((*((intptr_t*)RelocPos) & (1 << ARMII::U_BitShift)) == 0 &&
|
||||
"U bit is not zero?");
|
||||
*((intptr_t*)RelocPos) &= ~(1 << ARMII::U_BitShift);
|
||||
ResultPtr = - ResultPtr;
|
||||
}
|
||||
// Set the immed value calculated.
|
||||
|
Loading…
Reference in New Issue
Block a user