mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Implement push and pop.
This commit is contained in:
parent
4098661b89
commit
0e0518e5ce
@ -270,6 +270,18 @@ int main(int argc, char** argv)
|
||||
solAssert(items.size() == 2);
|
||||
solver.addAssertion(toSMTUtilExpression(items[1], variableSorts));
|
||||
}
|
||||
else if (cmd == "push")
|
||||
{
|
||||
// TODO what is the meaning of the numeric argument?
|
||||
solAssert(items.size() == 2);
|
||||
solver.push();
|
||||
}
|
||||
else if (cmd == "pop")
|
||||
{
|
||||
// TODO what is the meaning of the numeric argument?
|
||||
solAssert(items.size() == 2);
|
||||
solver.pop();
|
||||
}
|
||||
else if (cmd == "set-logic")
|
||||
{
|
||||
// ignore - could check the actual logic.
|
||||
|
Loading…
Reference in New Issue
Block a user