diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-01 03:54:54 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-02 03:55:01 +0800 |
commit | b7642dc8a7ef54abf6f37fddefc118ca1108b0ae (patch) | |
tree | a159819f12c1fd3d042759928843855f05f79e24 /libsolidity | |
parent | 3aacfc7e3569b27ca97dce41d886bbc3043546e0 (diff) | |
download | dexon-solidity-b7642dc8a7ef54abf6f37fddefc118ca1108b0ae.tar dexon-solidity-b7642dc8a7ef54abf6f37fddefc118ca1108b0ae.tar.gz dexon-solidity-b7642dc8a7ef54abf6f37fddefc118ca1108b0ae.tar.bz2 dexon-solidity-b7642dc8a7ef54abf6f37fddefc118ca1108b0ae.tar.lz dexon-solidity-b7642dc8a7ef54abf6f37fddefc118ca1108b0ae.tar.xz dexon-solidity-b7642dc8a7ef54abf6f37fddefc118ca1108b0ae.tar.zst dexon-solidity-b7642dc8a7ef54abf6f37fddefc118ca1108b0ae.zip |
Disallow gas modifier on sha255/ripemd160/ecrecover
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/ast/Types.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libsolidity/ast/Types.cpp b/libsolidity/ast/Types.cpp index 3712eb15..56fdd508 100644 --- a/libsolidity/ast/Types.cpp +++ b/libsolidity/ast/Types.cpp @@ -2402,9 +2402,6 @@ MemberList::MemberMap FunctionType::nativeMembers(ContractDefinition const*) con { case Kind::External: case Kind::Creation: - case Kind::ECRecover: - case Kind::SHA256: - case Kind::RIPEMD160: case Kind::BareCall: case Kind::BareCallCode: case Kind::BareDelegateCall: |