Skip to content
This repository was archived by the owner on Oct 3, 2021. It is now read-only.

Commit 1297de1

Browse files
committed
tweak: implement amount of locals
1 parent 1585ad6 commit 1297de1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

models/object/function.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ func (f *Function) Inspect() string { return "function" }
1616

1717
type CompiledFunction struct {
1818
Instructions []byte
19+
NumLocals int
1920
}
2021

2122
func (cf *CompiledFunction) Type() string { return COMPILED_FUNCTION }

0 commit comments

Comments
 (0)