projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc8dda8
)
Remove the incorrect assertion. We don't have enough information before relocation...
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 12 Nov 2008 21:37:59 +0000
(21:37 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 12 Nov 2008 21:37:59 +0000
(21:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59170
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMJITInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMJITInfo.cpp
b/lib/Target/ARM/ARMJITInfo.cpp
index 2c47f2269755a6675fcf8e103f76f7fcb3f15072..6dfd5fa81d2a2bb006d6e4855ee65eda549b1a93 100644
(file)
--- a/
lib/Target/ARM/ARMJITInfo.cpp
+++ b/
lib/Target/ARM/ARMJITInfo.cpp
@@
-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.