optimizations
This commit is contained in:
@@ -6,9 +6,9 @@ import (
|
||||
)
|
||||
|
||||
type frame struct {
|
||||
cl *object.Closure
|
||||
ip int
|
||||
ip uint16
|
||||
basePointer int
|
||||
cl *object.Closure
|
||||
}
|
||||
|
||||
func newFrame(cl *object.Closure, basePointer int) frame {
|
||||
@@ -30,7 +30,7 @@ func (f *frame) SetFree(idx uint8, obj object.Object) {
|
||||
f.cl.Free[idx] = obj
|
||||
}
|
||||
|
||||
func (f *frame) SetIP(ip int) {
|
||||
func (f *frame) SetIP(ip uint16) {
|
||||
f.ip = ip
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user