(ec *expcontext, ctype expContextType, reg, varargopt int)
| 66 | var ecfuncdef = &expcontext{ecMethod, regNotDefined, 0} |
| 67 | |
| 68 | func 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 | |
| 77 | func ecnone(varargopt int) *expcontext { |
| 78 | switch varargopt { |
no outgoing calls
no test coverage detected
searching dependent graphs…