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

Method SetLabelPc

compile.go:514–516  ·  view source on GitHub ↗
(label int, pc int)

Source from the content-addressed store, hash-verified

512}
513
514func (fc *funcContext) SetLabelPc(label int, pc int) {
515 fc.labelPc[label] = pc
516}
517
518func (fc *funcContext) GetLabelPc(label int) int {
519 return fc.labelPc[label]

Callers 10

AddNamedLabelMethod · 0.95
compileIfStmtFunction · 0.80
compileBranchConditionFunction · 0.80
compileWhileStmtFunction · 0.80
compileRepeatStmtFunction · 0.80
compileNumberForStmtFunction · 0.80
compileGenericForStmtFunction · 0.80
compileRelationalOpExprFunction · 0.80
compileLogicalOpExprFunction · 0.80
compileLogicalOpExprAuxFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected