gotools/go/ssa/instantiate_test.go

// TestNeedsInstance ensures that new method instances can be created via MethodValue.
func TestNeedsInstance(t *testing.T) {}

// TestCallsToInstances checks that calles of calls to generic functions,
// without monomorphization, are wrappers around the origin generic function.
func TestCallsToInstances(t *testing.T) {}

func tparams(f *ssa.Function) string {}

func targs(f *ssa.Function) string {}

func changeTypeInstrs(b *ssa.BasicBlock) int {}

func TestInstanceUniqueness(t *testing.T) {}

// instancesOf returns a new unordered slice of all instances of the
// specified function g in fns.
func instancesOf(fns map[*ssa.Function]bool, g *ssa.Function) []*ssa.Function {}