5d8457a8f6
* Removed double indirection for performance gains * Added missing file * Cleanup * Remove pointers patch. * Cleanup * Removed redundant parenthesis * FreeVar changed to ObjectPtr and removed OpSetLocalPtr * Removed truePtr, falsePtr and undefinedPtr * Cleanup
13 lines
232 B
Go
13 lines
232 B
Go
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
|
|
}
|