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

Function k

vm.go:948–953  ·  view source on GitHub ↗
(field int, constants []value, frame []value)

Source from the content-addressed store, hash-verified

946}
947
948func k(field int, constants []value, frame []value) value {
949 if 0 != field&bitRK { // OPT: Inline isConstant(field).
950 return constants[field & ^bitRK] // OPT: Inline constantIndex(field).
951 }
952 return frame[field]
953}
954
955func newFrame(l *State, ci *callInfo) (frame []value, closure *luaClosure, constants []value) {
956 // TODO l.assert(ci == l.callInfo)

Callers 1

executeSwitchMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected