core: remove dead code, limit test code scope (#17006)

* core: move test util var/func to test file

* core: remove useless func
This commit is contained in:
Wenbiao Zheng
2018-06-19 19:41:13 +08:00
committed by Péter Szilágyi
parent 3e57c33147
commit 9b1536b26a
4 changed files with 34 additions and 48 deletions

View File

@ -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))