diff options
author | benjaminion <ben@edginet.org> | 2017-06-14 00:01:38 +0800 |
---|---|---|
committer | benjaminion <ben@edginet.org> | 2017-06-14 00:01:38 +0800 |
commit | c603369a5135efd1c6e7109dbc180ccb2bf8c03e (patch) | |
tree | 465c76fa3fdf3773bd902100564b954d2e641ae8 /liblll/CompilerState.h | |
parent | 40f5690f68961130073028526f8b923ed0793c8a (diff) | |
download | dexon-solidity-c603369a5135efd1c6e7109dbc180ccb2bf8c03e.tar.gz dexon-solidity-c603369a5135efd1c6e7109dbc180ccb2bf8c03e.tar.zst dexon-solidity-c603369a5135efd1c6e7109dbc180ccb2bf8c03e.zip |
Change opcode generated by (panic) to INVALID
EIP-141 ethereum/EIPs#141 has preserved 0xfe as an invalid opcode for aborting EVM execution. The EVM assembler supports this via the INVALID opcode.
The LLL "panic" expression used to generate a jump to an invalid location in order to abort EVM execution. This change brings "panic" into line with EIP-141 by generating the INVALID opcode instead.
Diffstat (limited to 'liblll/CompilerState.h')
0 files changed, 0 insertions, 0 deletions