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

Function ecupdate

compile.go:68–75  ·  view source on GitHub ↗
(ec *expcontext, ctype expContextType, reg, varargopt int)

Source from the content-addressed store, hash-verified

66var ecfuncdef = &expcontext{ecMethod, regNotDefined, 0}
67
68func ecupdate(ec *expcontext, ctype expContextType, reg, varargopt int) {
69 if ec == _ecnone0 || ec == _ecnonem1 || ec == _ecnonem2 {
70 panic("can not update ec cache")
71 }
72 ec.ctype = ctype
73 ec.reg = reg
74 ec.varargopt = varargopt
75}
76
77func ecnone(varargopt int) *expcontext {
78 switch varargopt {

Callers 2

compileRegAssignmentFunction · 0.85
compileNumberForStmtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…