mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Support revert()
This commit is contained in:
@@ -2095,6 +2095,7 @@ string FunctionType::identifier() const
|
||||
case Location::Send: id += "send"; break;
|
||||
case Location::SHA3: id += "sha3"; break;
|
||||
case Location::Selfdestruct: id += "selfdestruct"; break;
|
||||
case Location::Revert: id += "revert"; break;
|
||||
case Location::ECRecover: id += "ecrecover"; break;
|
||||
case Location::SHA256: id += "sha256"; break;
|
||||
case Location::RIPEMD160: id += "ripemd160"; break;
|
||||
|
||||
@@ -828,6 +828,7 @@ public:
|
||||
Send, ///< CALL, but without data and gas
|
||||
SHA3, ///< SHA3
|
||||
Selfdestruct, ///< SELFDESTRUCT
|
||||
Revert, ///< REVERT
|
||||
ECRecover, ///< CALL to special contract for ecrecover
|
||||
SHA256, ///< CALL to special contract for sha256
|
||||
RIPEMD160, ///< CALL to special contract for ripemd160
|
||||
|
||||
Reference in New Issue
Block a user