MCPcopy Create free account
hub / github.com/Shopify/go-lua / newFrame

Function newFrame

vm.go:955–961  ·  view source on GitHub ↗
(l *State, ci *callInfo)

Source from the content-addressed store, hash-verified

953}
954
955func newFrame(l *State, ci *callInfo) (frame []value, closure *luaClosure, constants []value) {
956 // TODO l.assert(ci == l.callInfo)
957 frame = ci.frame
958 closure, _ = l.stack[ci.function].(*luaClosure)
959 constants = closure.prototype.constants
960 return
961}
962
963func expectNext(ci *callInfo, expected opCode) instruction {
964 i := ci.step() // go to next instruction

Callers 1

executeSwitchMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…