aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/Instruction.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-01-27 21:10:22 +0800
committerGitHub <noreply@github.com>2017-01-27 21:10:22 +0800
commitb2c35fb41a65dc996189b890f292103d9318b53e (patch)
treecd2a2fd222994c64d5ad946dfb8210848e2fc5e6 /libevmasm/Instruction.h
parent636e480156130ec44c5b85890ebe0c3792a75061 (diff)
parentbff8fc23e6cc602511b52aaa665e63b948eba068 (diff)
downloaddexon-solidity-b2c35fb41a65dc996189b890f292103d9318b53e.tar.gz
dexon-solidity-b2c35fb41a65dc996189b890f292103d9318b53e.tar.zst
dexon-solidity-b2c35fb41a65dc996189b890f292103d9318b53e.zip
Merge pull request #1598 from wuestholz/develop
Change translation of implicit throws
Diffstat (limited to 'libevmasm/Instruction.h')
-rw-r--r--libevmasm/Instruction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libevmasm/Instruction.h b/libevmasm/Instruction.h
index 2dd451cd..a8a72234 100644
--- a/libevmasm/Instruction.h
+++ b/libevmasm/Instruction.h
@@ -176,6 +176,8 @@ enum class Instruction: uint8_t
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
};