mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update libyul/optimiser/KnowledgeBase.cpp
Co-authored-by: matheusaaguiar <95899911+matheusaaguiar@users.noreply.github.com>
This commit is contained in:
parent
53a44bd5ae
commit
5c85818f50
@ -52,7 +52,7 @@ optional<u256> KnowledgeBase::differenceIfKnownConstant(YulString _a, YulString
|
|||||||
if (offA.reference == offB.reference)
|
if (offA.reference == offB.reference)
|
||||||
return offA.offset - offB.offset;
|
return offA.offset - offB.offset;
|
||||||
else
|
else
|
||||||
return {};
|
return nullopt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user