diff options
author | Wenbiao Zheng <delweng@gmail.com> | 2018-06-19 19:41:13 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-06-19 19:41:13 +0800 |
commit | 9b1536b26a78341008c5efe962f916d12220e720 (patch) | |
tree | 4668e7f4f57ba810a06e3054ff36c1828f3279f3 /core/vm/memory_table.go | |
parent | 3e57c33147bf05329dd9ef9868c04e301ac8bb58 (diff) | |
download | dexon-9b1536b26a78341008c5efe962f916d12220e720.tar dexon-9b1536b26a78341008c5efe962f916d12220e720.tar.gz dexon-9b1536b26a78341008c5efe962f916d12220e720.tar.bz2 dexon-9b1536b26a78341008c5efe962f916d12220e720.tar.lz dexon-9b1536b26a78341008c5efe962f916d12220e720.tar.xz dexon-9b1536b26a78341008c5efe962f916d12220e720.tar.zst dexon-9b1536b26a78341008c5efe962f916d12220e720.zip |
core: remove dead code, limit test code scope (#17006)
* core: move test util var/func to test file
* core: remove useless func
Diffstat (limited to 'core/vm/memory_table.go')
-rw-r--r-- | core/vm/memory_table.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/vm/memory_table.go b/core/vm/memory_table.go index bec0235bc..ab49ebb38 100644 --- a/core/vm/memory_table.go +++ b/core/vm/memory_table.go @@ -65,12 +65,6 @@ func memoryCall(stack *Stack) *big.Int { return math.BigMax(x, y) } -func memoryCallCode(stack *Stack) *big.Int { - x := calcMemSize(stack.Back(5), stack.Back(6)) - y := calcMemSize(stack.Back(3), stack.Back(4)) - - return math.BigMax(x, y) -} func memoryDelegateCall(stack *Stack) *big.Int { x := calcMemSize(stack.Back(4), stack.Back(5)) y := calcMemSize(stack.Back(2), stack.Back(3)) |