forked from TrueCloudLab/neoneo-go
compiler: adjust test's checkInstrCount
Remove unnecessary code.
This commit is contained in:
parent
2b8271055f
commit
293dbf3d1b
1 changed files with 0 additions and 2 deletions
|
@ -3,7 +3,6 @@ package compiler_test
|
|||
import (
|
||||
"fmt"
|
||||
"math/big"
|
||||
"os"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
|
@ -18,7 +17,6 @@ func checkCallCount(t *testing.T, src string, expectedCall, expectedInitSlot, ex
|
|||
|
||||
func checkInstrCount(t *testing.T, src string, expectedSSlotCount, expectedCall, expectedInitSlot, expectedLocalsMain int) {
|
||||
v, sp, _ := vmAndCompileInterop(t, src)
|
||||
v.PrintOps(os.Stdout)
|
||||
mainStart := -1
|
||||
for _, m := range sp.info.Methods {
|
||||
if m.Name.Name == "main" {
|
||||
|
|
Loading…
Reference in a new issue