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

Method k

vm.go:261–266  ·  view source on GitHub ↗
(field int)

Source from the content-addressed store, hash-verified

259}
260
261func (e *engine) k(field int) value {
262 if field&bitRK != 0 { // OPT: Inline isConstant(field).
263 return e.constants[field & ^bitRK] // OPT: Inline constantIndex(field).
264 }
265 return e.frame[field]
266}
267
268func (e *engine) expectNext(expected opCode) instruction {
269 i := e.callInfo.step() // go to next instruction

Callers 1

initFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected