diff options
author | chriseth <chris@ethereum.org> | 2018-05-31 20:53:33 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-05-31 20:53:33 +0800 |
commit | 7cf36331a6210a5fa0d7ef7d289b1f358b9e0cb6 (patch) | |
tree | d6307a30fa1170a61476eff475671974423f21fa /libsolidity/ast | |
parent | 0a1a8bfb09f996ad288baf4f195d621e143de7d9 (diff) | |
download | dexon-solidity-7cf36331a6210a5fa0d7ef7d289b1f358b9e0cb6.tar.gz dexon-solidity-7cf36331a6210a5fa0d7ef7d289b1f358b9e0cb6.tar.zst dexon-solidity-7cf36331a6210a5fa0d7ef7d289b1f358b9e0cb6.zip |
Fix bug related to byte array pop.
Diffstat (limited to 'libsolidity/ast')
-rw-r--r-- | libsolidity/ast/Types.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/ast/Types.cpp b/libsolidity/ast/Types.cpp index 7f5ec46a..eb56e8ae 100644 --- a/libsolidity/ast/Types.cpp +++ b/libsolidity/ast/Types.cpp @@ -2529,6 +2529,7 @@ string FunctionType::richIdentifier() const case Kind::AddMod: id += "addmod"; break; case Kind::MulMod: id += "mulmod"; break; case Kind::ArrayPush: id += "arraypush"; break; + case Kind::ArrayPop: id += "arraypop"; break; case Kind::ByteArrayPush: id += "bytearraypush"; break; case Kind::ObjectCreation: id += "objectcreation"; break; case Kind::Assert: id += "assert"; break; @@ -2683,6 +2684,7 @@ unsigned FunctionType::sizeOnStack() const case Kind::BareDelegateCall: case Kind::Internal: case Kind::ArrayPush: + case Kind::ArrayPop: case Kind::ByteArrayPush: size = 1; break; |