optimizations
Some checks failed
Build / build (push) Successful in 10m29s
Publish Image / publish (push) Failing after 31s
Test / build (push) Failing after 6m34s

This commit is contained in:
Chuck Smith
2024-04-02 14:08:08 -04:00
parent 4c9ec5aaaa
commit 07fd82b261
23 changed files with 296 additions and 265 deletions

View File

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