diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-05 00:43:40 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-12 19:53:00 +0800 |
commit | bede2f2ad7eb023018ab2faac17286fdee82b03c (patch) | |
tree | ed1b2a2f62a01bc61c29e7adab2a5131da5aa218 /Types.h | |
parent | 36fe571576a7e5af91d9f95ff0a2252394720a34 (diff) | |
download | dexon-solidity-bede2f2ad7eb023018ab2faac17286fdee82b03c.tar dexon-solidity-bede2f2ad7eb023018ab2faac17286fdee82b03c.tar.gz dexon-solidity-bede2f2ad7eb023018ab2faac17286fdee82b03c.tar.bz2 dexon-solidity-bede2f2ad7eb023018ab2faac17286fdee82b03c.tar.lz dexon-solidity-bede2f2ad7eb023018ab2faac17286fdee82b03c.tar.xz dexon-solidity-bede2f2ad7eb023018ab2faac17286fdee82b03c.tar.zst dexon-solidity-bede2f2ad7eb023018ab2faac17286fdee82b03c.zip |
More changes towards getting rid of HashXX
Diffstat (limited to 'Types.h')
-rw-r--r-- | Types.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -165,7 +165,7 @@ class IntegerType: public Type public: enum class Modifier { - Unsigned, Signed, Hash, Address + Unsigned, Signed, Bytes, Address }; virtual Category getCategory() const override { return Category::Integer; } @@ -186,7 +186,7 @@ public: virtual std::string toString() const override; int getNumBits() const { return m_bits; } - bool isHash() const { return m_modifier == Modifier::Hash || m_modifier == Modifier::Address; } + bool isBytes() const { return m_modifier == Modifier::Bytes || m_modifier == Modifier::Address; } bool isAddress() const { return m_modifier == Modifier::Address; } bool isSigned() const { return m_modifier == Modifier::Signed; } |