diff options
author | Leonardo Alt <leo@ethereum.org> | 2018-10-12 21:44:46 +0800 |
---|---|---|
committer | Leonardo Alt <leo@ethereum.org> | 2018-10-15 20:20:54 +0800 |
commit | 4a4620ac955d3c61b4778dfab3a9e05a91e4fc33 (patch) | |
tree | 32ee6fc579e12562cca7fa66558514f42d4ceccd /libsolidity/formal/SSAVariable.h | |
parent | 0778fb2dfca49bd84d202f78e31730c4e930749f (diff) | |
download | dexon-solidity-4a4620ac955d3c61b4778dfab3a9e05a91e4fc33.tar.gz dexon-solidity-4a4620ac955d3c61b4778dfab3a9e05a91e4fc33.tar.zst dexon-solidity-4a4620ac955d3c61b4778dfab3a9e05a91e4fc33.zip |
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 ); |