aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/memory_table.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/vm/memory_table.go')
-rw-r--r--core/vm/memory_table.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/vm/memory_table.go b/core/vm/memory_table.go
index f1b671adc..bec0235bc 100644
--- a/core/vm/memory_table.go
+++ b/core/vm/memory_table.go
@@ -89,6 +89,10 @@ func memoryReturn(stack *Stack) *big.Int {
return calcMemSize(stack.Back(0), stack.Back(1))
}
+func memoryRevert(stack *Stack) *big.Int {
+ return calcMemSize(stack.Back(0), stack.Back(1))
+}
+
func memoryLog(stack *Stack) *big.Int {
mSize, mStart := stack.Back(1), stack.Back(0)
return calcMemSize(mStart, mSize)