diff options
Diffstat (limited to 'core/vm/memory_table.go')
-rw-r--r-- | core/vm/memory_table.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/vm/memory_table.go b/core/vm/memory_table.go index 654137c70..9d293a2f2 100644 --- a/core/vm/memory_table.go +++ b/core/vm/memory_table.go @@ -74,6 +74,13 @@ func memoryDelegateCall(stack *Stack) *big.Int { return math.BigMax(x, y) } +func memoryStaticCall(stack *Stack) *big.Int { + x := calcMemSize(stack.Back(4), stack.Back(5)) + y := calcMemSize(stack.Back(2), stack.Back(3)) + + return math.BigMax(x, y) +} + func memoryReturn(stack *Stack) *big.Int { return calcMemSize(stack.Back(0), stack.Back(1)) } |