summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/d5/tengo/runtime/frame.go
blob: cbaadbdb0b8c589fb0816654bfd98f2b05758583 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package runtime

import (
	"github.com/d5/tengo/objects"
)

// Frame represents a function call frame.
type Frame struct {
	fn          *objects.CompiledFunction
	freeVars    []*objects.ObjectPtr
	ip          int
	basePointer int
}