forked from OSchip/llvm-project
Fix an overzealous assertion. It is legitimate for a target to have multiple fixups on a single instruction that target the same byte, so long as their bit-offsets are coordinates appropriately.
llvm-svn: 159785
This commit is contained in:
parent
31a2568096
commit
00da236f7e
|
@ -130,7 +130,7 @@ public:
|
|||
|
||||
void addFixup(MCFixup Fixup) {
|
||||
// Enforce invariant that fixups are in offset order.
|
||||
assert((Fixups.empty() || Fixup.getOffset() > Fixups.back().getOffset()) &&
|
||||
assert((Fixups.empty() || Fixup.getOffset() >= Fixups.back().getOffset()) &&
|
||||
"Fixups must be added in order!");
|
||||
Fixups.push_back(Fixup);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue