aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/formal/SymbolicBoolVariable.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-04-05 22:07:07 +0800
committerGitHub <noreply@github.com>2018-04-05 22:07:07 +0800
commit4c50ed39d76c4bd96ed73f40077da2c3f6d13c35 (patch)
tree2187b2bb3f638d50708397f226b276a53c769bc7 /libsolidity/formal/SymbolicBoolVariable.h
parent95b0589f7739ebfd0c1c9cde8a07332cba039296 (diff)
parent8d087d1889826271a78ce537b8d1a2ceb11574dd (diff)
downloaddexon-solidity-4c50ed39d76c4bd96ed73f40077da2c3f6d13c35.tar
dexon-solidity-4c50ed39d76c4bd96ed73f40077da2c3f6d13c35.tar.gz
dexon-solidity-4c50ed39d76c4bd96ed73f40077da2c3f6d13c35.tar.bz2
dexon-solidity-4c50ed39d76c4bd96ed73f40077da2c3f6d13c35.tar.lz
dexon-solidity-4c50ed39d76c4bd96ed73f40077da2c3f6d13c35.tar.xz
dexon-solidity-4c50ed39d76c4bd96ed73f40077da2c3f6d13c35.tar.zst
dexon-solidity-4c50ed39d76c4bd96ed73f40077da2c3f6d13c35.zip
Merge pull request #3829 from ethereum/smt_remove_uf
[SMTChecker] Remove usage of UFs to access SSA vars
Diffstat (limited to 'libsolidity/formal/SymbolicBoolVariable.h')
-rw-r--r--libsolidity/formal/SymbolicBoolVariable.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/formal/SymbolicBoolVariable.h b/libsolidity/formal/SymbolicBoolVariable.h
index 3510b770..678f97d9 100644
--- a/libsolidity/formal/SymbolicBoolVariable.h
+++ b/libsolidity/formal/SymbolicBoolVariable.h
@@ -41,6 +41,9 @@ public:
void setZeroValue(int _seq);
/// Does nothing since the SMT solver already knows the valid values.
void setUnknownValue(int _seq);
+
+protected:
+ smt::Expression valueAtSequence(int _seq) const;
};
}