mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
MakeModelGEP: remove too strict assertion
This commit is contained in:
@@ -1190,10 +1190,6 @@ makeBestGEPArgs(const TypedBaseAddress &TBA,
|
||||
// The current IR indices have been handled, increase the iterator.
|
||||
++IRIndicesIt;
|
||||
} else {
|
||||
// If we ran out of indices in IRAP there's no offset left, so
|
||||
// consider this to be zero
|
||||
revng_assert(RestOff.isNullValue());
|
||||
|
||||
Back.Index = ConstantInt::get(llvm::IntegerType::get(Ctxt,
|
||||
64 /*NumBits*/),
|
||||
RestOff);
|
||||
|
||||
Reference in New Issue
Block a user