mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[SMTChecker] EncodingContext config flag to accumulate assertions
This commit is contained in:
@@ -228,7 +228,10 @@ Expression EncodingContext::assertions()
|
||||
|
||||
void EncodingContext::pushSolver()
|
||||
{
|
||||
m_assertions.push_back(assertions());
|
||||
if (m_accumulateAssertions)
|
||||
m_assertions.push_back(assertions());
|
||||
else
|
||||
m_assertions.push_back(smt::Expression(true));
|
||||
}
|
||||
|
||||
void EncodingContext::popSolver()
|
||||
|
||||
Reference in New Issue
Block a user