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

Method newFrame

vm.go:282–290  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

280}
281
282func (e *engine) newFrame() {
283 ci := e.callInfo
284 // if internalCheck {
285 // e.l.assert(ci == e.l.callInfo.variant)
286 // }
287 e.frame = ci.frame
288 e.closure = e.l.stack[ci.function].(*luaClosure)
289 e.constants = e.closure.prototype.constants
290}
291
292func (e *engine) hooked() bool { return e.l.hookMask&(MaskLine|MaskCount) != 0 }
293

Callers 1

initFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected