forked from TrueCloudLab/neoneo-go
vm: don't allocate for break points in NewContext
They're rarely used and when they're used they're appended to.
This commit is contained in:
parent
7b9558d756
commit
e09a0f3969
1 changed files with 4 additions and 5 deletions
|
@ -80,7 +80,6 @@ func NewContext(b []byte) *Context {
|
|||
func NewContextWithParams(b []byte, pcount int, rvcount int, pos int) *Context {
|
||||
return &Context{
|
||||
prog: b,
|
||||
breakPoints: []int{},
|
||||
ParamCount: pcount,
|
||||
RetCount: rvcount,
|
||||
nextip: pos,
|
||||
|
|
Loading…
Reference in a new issue