MCPcopy Index your code
hub / github.com/yuin/gopher-lua / EndScope

Method EndScope

compile.go:599–603  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

597}
598
599func (fc *funcContext) EndScope() {
600 for _, vr := range fc.Block.LocalVars.List() {
601 fc.Proto.DbgLocals[vr.Index].EndPc = fc.Code.LastPC()
602 }
603}
604
605func (fc *funcContext) SetRegTop(top int) {
606 if top > maxRegisters {

Callers 2

LeaveBlockMethod · 0.95
compileFunctionExprFunction · 0.80

Calls 2

LastPCMethod · 0.80
ListMethod · 0.45

Tested by

no test coverage detected