tools/go
Alan Donovan f1d4d01fed go.tools/ssa: memoize synthesis of all wrapper methods.
methodIndex() utility was split and specialized to its two
cases, *Interface vs *Named, which are logically quite
different.

We can't memoize promotion wrappers yet; we need typemap.

Terminology:
- "thunks" are now "wrappers"
- "bridge methods" are now "promotion wrappers"

Where the diff is messy it's just because of indentation.

R=gri
CC=golang-dev
https://golang.org/cl/10282043
2013-06-14 15:50:37 -04:00
..
exact go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
types go.tools/ssa: memoize synthesis of all wrapper methods. 2013-06-14 15:50:37 -04:00