diff options
author | chriseth <c@ethdev.com> | 2017-01-26 22:57:49 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-01-26 23:39:07 +0800 |
commit | c2b3d8bcd28a3047a832cf813df14a97a5b01daa (patch) | |
tree | 3d6949e34eb1c91490e48316465762f1a4dcbd41 /libevmasm/Instruction.h | |
parent | 5b7cc018f0b256fb42f7bee38ad8d1ec4e2ec634 (diff) | |
download | dexon-solidity-c2b3d8bcd28a3047a832cf813df14a97a5b01daa.tar.gz dexon-solidity-c2b3d8bcd28a3047a832cf813df14a97a5b01daa.tar.zst dexon-solidity-c2b3d8bcd28a3047a832cf813df14a97a5b01daa.zip |
Change code for INVALID opcode to 0xfe.
Diffstat (limited to 'libevmasm/Instruction.h')
-rw-r--r-- | libevmasm/Instruction.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libevmasm/Instruction.h b/libevmasm/Instruction.h index 7432f04d..a8a72234 100644 --- a/libevmasm/Instruction.h +++ b/libevmasm/Instruction.h @@ -171,13 +171,13 @@ enum class Instruction: uint8_t LOG3, ///< Makes a log entry; 3 topics. LOG4, ///< Makes a log entry; 4 topics. - INVALID = 0xef, ///< invalid instruction for expressing runtime errors (e.g., division-by-zero) - CREATE = 0xf0, ///< create a new account with associated code CALL, ///< message-call into an account CALLCODE, ///< message-call with another account's code only RETURN, ///< halt execution returning output data DELEGATECALL, ///< like CALLCODE but keeps caller's value and sender + + INVALID = 0xfe, ///< invalid instruction for expressing runtime errors (e.g., division-by-zero) SUICIDE = 0xff ///< halt execution and register account for later deletion }; |