aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/Instruction.h
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-05-17 00:45:08 +0800
committerYoichi Hirai <i@yoichihirai.com>2017-06-13 22:57:02 +0800
commit0b22154a75254697d0bde328039c5d6bfedd935f (patch)
tree0c761c5e23b05afdd781ac2f416aa9b923111499 /libevmasm/Instruction.h
parent0c8c2091947e23297655bd6a65587a7580d7dae8 (diff)
downloaddexon-solidity-0b22154a75254697d0bde328039c5d6bfedd935f.tar.gz
dexon-solidity-0b22154a75254697d0bde328039c5d6bfedd935f.tar.zst
dexon-solidity-0b22154a75254697d0bde328039c5d6bfedd935f.zip
libevmasm: add RETURNDATACOPY and RETURNDATASIZE
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 09d1e58b..a8c3bf4a 100644
--- a/libevmasm/Instruction.h
+++ b/libevmasm/Instruction.h
@@ -77,6 +77,8 @@ enum class Instruction: uint8_t
GASPRICE, ///< get price of gas in current environment
EXTCODESIZE, ///< get external code size (from another contract)
EXTCODECOPY, ///< copy external code (from another contract)
+ RETURNDATASIZE, ///< get size of the last return data
+ RETURNDATACOPY, ///< copy last return data to memory
BLOCKHASH = 0x40, ///< get hash of most recent complete block
COINBASE, ///< get the block's coinbase address