diff options
author | chriseth <c@ethdev.com> | 2015-02-09 07:14:13 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-02-09 07:14:13 +0800 |
commit | a66db516fb1025b406c8fcdb694b7fb760f84695 (patch) | |
tree | 269aaf7b54e7e75fc0c76854502926b366b22e44 /Types.cpp | |
parent | 5c58aa041d06e7e640f12c0060d18947ac5e8952 (diff) | |
parent | afe1d9a592446dd403b9ed349529098b71309756 (diff) | |
download | dexon-solidity-a66db516fb1025b406c8fcdb694b7fb760f84695.tar.gz dexon-solidity-a66db516fb1025b406c8fcdb694b7fb760f84695.tar.zst dexon-solidity-a66db516fb1025b406c8fcdb694b7fb760f84695.zip |
Merge pull request #937 from LefterisJP/sol_MultiArgSHA3
Solidity multiple arg sha3
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -357,6 +357,13 @@ u256 IntegerConstantType::literalValue(Literal const*) const return value; } +TypePointer IntegerConstantType::getRealType() const +{ + auto intType = getIntegerType(); + solAssert(!!intType, std::string("getRealType called with invalid integer constant") + toString()); + return intType; +} + shared_ptr<IntegerType const> IntegerConstantType::getIntegerType() const { bigint value = m_value; |