diff options
author | chriseth <chris@ethereum.org> | 2018-10-15 22:49:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-15 22:49:47 +0800 |
commit | 238494752192a2c834eb8913b244671afb48d693 (patch) | |
tree | d3e60cd464a03b98df9141386df9877bf418d577 /libsolidity/formal/SSAVariable.h | |
parent | 771de0c5adfe284c3824265999c1b9c07d66d0a1 (diff) | |
parent | 4a4620ac955d3c61b4778dfab3a9e05a91e4fc33 (diff) | |
download | dexon-solidity-238494752192a2c834eb8913b244671afb48d693.tar dexon-solidity-238494752192a2c834eb8913b244671afb48d693.tar.gz dexon-solidity-238494752192a2c834eb8913b244671afb48d693.tar.bz2 dexon-solidity-238494752192a2c834eb8913b244671afb48d693.tar.lz dexon-solidity-238494752192a2c834eb8913b244671afb48d693.tar.xz dexon-solidity-238494752192a2c834eb8913b244671afb48d693.tar.zst dexon-solidity-238494752192a2c834eb8913b244671afb48d693.zip |
Merge pull request #5209 from ethereum/smt_ssa_refactor
[SMTChecker] Refactor SSAVariable such that it only uses Type and not Declaration
Diffstat (limited to 'libsolidity/formal/SSAVariable.h')
-rw-r--r-- | libsolidity/formal/SSAVariable.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libsolidity/formal/SSAVariable.h b/libsolidity/formal/SSAVariable.h index bf5dae3b..f4a4e93e 100644 --- a/libsolidity/formal/SSAVariable.h +++ b/libsolidity/formal/SSAVariable.h @@ -26,18 +26,17 @@ namespace dev namespace solidity { -class Declaration; - /** * This class represents the SSA representation of a program variable. */ class SSAVariable { public: - /// @param _decl Used to determine the type and forwarded to the symbolic var. + /// @param _type Forwarded to the symbolic var. /// @param _interface Forwarded to the symbolic var such that it can give constraints to the solver. SSAVariable( - Declaration const& _decl, + Type const& _type, + std::string const& _uniqueName, smt::SolverInterface& _interface ); |