diff options
author | chriseth <chris@ethereum.org> | 2017-07-14 03:04:19 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-08-23 23:37:35 +0800 |
commit | c9cf24458baa77e2a2de1bedbad5040d0d83aab2 (patch) | |
tree | 75e1ae7b329c81470d3df39b24c564be9cff9740 /libsolidity/formal/SMTChecker.cpp | |
parent | b3f8ed457a10dab36abaef72310a755a95e0753f (diff) | |
download | dexon-solidity-c9cf24458baa77e2a2de1bedbad5040d0d83aab2.tar dexon-solidity-c9cf24458baa77e2a2de1bedbad5040d0d83aab2.tar.gz dexon-solidity-c9cf24458baa77e2a2de1bedbad5040d0d83aab2.tar.bz2 dexon-solidity-c9cf24458baa77e2a2de1bedbad5040d0d83aab2.tar.lz dexon-solidity-c9cf24458baa77e2a2de1bedbad5040d0d83aab2.tar.xz dexon-solidity-c9cf24458baa77e2a2de1bedbad5040d0d83aab2.tar.zst dexon-solidity-c9cf24458baa77e2a2de1bedbad5040d0d83aab2.zip |
Prepare build system for Z3.
Diffstat (limited to 'libsolidity/formal/SMTChecker.cpp')
-rw-r--r-- | libsolidity/formal/SMTChecker.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/formal/SMTChecker.cpp b/libsolidity/formal/SMTChecker.cpp index b9e0e8f3..76232c2e 100644 --- a/libsolidity/formal/SMTChecker.cpp +++ b/libsolidity/formal/SMTChecker.cpp @@ -76,6 +76,9 @@ bool SMTChecker::visit(FunctionDefinition const& _function) void SMTChecker::endVisit(FunctionDefinition const&) { // TOOD we could check for "reachability", i.e. satisfiability here. + // We only handle local variables, so we clear everything. + // If we add storage variables, those should be cleared differently. + m_currentSequenceCounter.clear(); m_interface.pop(); m_currentFunction = nullptr; } |