aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-08-04 20:43:15 +0800
committerGitHub <noreply@github.com>2017-08-04 20:43:15 +0800
commit38e9505a83ed9b37ce91b8cd1ec268fc96be50cc (patch)
treec63973bc6d009a2a701a1e4cc9760a63fbfb9e20 /libsolidity
parente48730fed95d6b6cc8a8b46f6b96d309526baea9 (diff)
parentb7642dc8a7ef54abf6f37fddefc118ca1108b0ae (diff)
downloaddexon-solidity-38e9505a83ed9b37ce91b8cd1ec268fc96be50cc.tar.gz
dexon-solidity-38e9505a83ed9b37ce91b8cd1ec268fc96be50cc.tar.zst
dexon-solidity-38e9505a83ed9b37ce91b8cd1ec268fc96be50cc.zip
Merge pull request #2673 from ethereum/builtin-gas
Disallow gas modifier on sha256/ripemd160/ecrecover
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/ast/Types.cpp3
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: