diff options
author | chriseth <chris@ethereum.org> | 2017-02-13 21:56:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-13 21:56:22 +0800 |
commit | 0d8a9c328910bc9a0ab18beb273c029dc9a05b15 (patch) | |
tree | 388b2cc84825e30c0753e480be1d6bb0bbc4db03 /libevmasm/Instruction.h | |
parent | e2349f9d5db80e57558ddaf7564ea57cf3b216d8 (diff) | |
parent | c8ec79548b8f8825735ee96f1768e7fc5313d19e (diff) | |
download | dexon-solidity-0d8a9c328910bc9a0ab18beb273c029dc9a05b15.tar.gz dexon-solidity-0d8a9c328910bc9a0ab18beb273c029dc9a05b15.tar.zst dexon-solidity-0d8a9c328910bc9a0ab18beb273c029dc9a05b15.zip |
Merge pull request #1661 from ethereum/asm-revert
Implement REVERT (EIP140)
Diffstat (limited to 'libevmasm/Instruction.h')
-rw-r--r-- | libevmasm/Instruction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libevmasm/Instruction.h b/libevmasm/Instruction.h index 7f56ad3a..d79ec969 100644 --- a/libevmasm/Instruction.h +++ b/libevmasm/Instruction.h @@ -177,6 +177,7 @@ enum class Instruction: uint8_t RETURN, ///< halt execution returning output data DELEGATECALL, ///< like CALLCODE but keeps caller's value and sender + REVERT = 0xfd, ///< halt execution, revert state and return output data INVALID = 0xfe, ///< invalid instruction for expressing runtime errors (e.g., division-by-zero) SELFDESTRUCT = 0xff ///< halt execution and register account for later deletion }; |