-- wrappers ----------------------------------------------------------- makeWrapper returns a synthetic method that delegates to the declared method denoted by meth.Obj(), first performing any necessary pointer indirections or field selections implied by meth. The resulting method's receiver type i
(sel *Selection)
| 43 | // EXCLUSIVE_LOCKS_REQUIRED(prog.methodsMu) |
| 44 | // |
| 45 | func (prog *Program) makeWrapper(sel *Selection) *Function { |
| 46 | return prog.makeWrapperKey(sel.asKey()) |
| 47 | } |
| 48 | |
| 49 | func (prog *Program) makeWrapperKey(key selectionKey) *Function { |
| 50 | obj := key.obj.(*Func) // the declared function |
no test coverage detected