diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2017-08-16 18:07:33 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-08-16 18:43:08 +0800 |
commit | 9bd6068fefe5687735bed342f3545f515fa717c8 (patch) | |
tree | d68767398eedd0a07c055fc8e880c4b4ab565a70 /core/vm/memory_table.go | |
parent | 76069eef38082089d2eaf99661a80e1a953bf271 (diff) | |
download | dexon-9bd6068fefe5687735bed342f3545f515fa717c8.tar dexon-9bd6068fefe5687735bed342f3545f515fa717c8.tar.gz dexon-9bd6068fefe5687735bed342f3545f515fa717c8.tar.bz2 dexon-9bd6068fefe5687735bed342f3545f515fa717c8.tar.lz dexon-9bd6068fefe5687735bed342f3545f515fa717c8.tar.xz dexon-9bd6068fefe5687735bed342f3545f515fa717c8.tar.zst dexon-9bd6068fefe5687735bed342f3545f515fa717c8.zip |
core/vm: implement RETURNDATA metropolis opcodes
Diffstat (limited to 'core/vm/memory_table.go')
-rw-r--r-- | core/vm/memory_table.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/vm/memory_table.go b/core/vm/memory_table.go index 9d293a2f2..9f6533bbc 100644 --- a/core/vm/memory_table.go +++ b/core/vm/memory_table.go @@ -30,6 +30,10 @@ func memoryCalldataCopy(stack *Stack) *big.Int { return calcMemSize(stack.Back(0), stack.Back(2)) } +func memoryReturnDataCopy(stack *Stack) *big.Int { + return calcMemSize(stack.Back(0), stack.Back(2)) +} + func memoryCodeCopy(stack *Stack) *big.Int { return calcMemSize(stack.Back(0), stack.Back(2)) } |