1
0
mirror of https://github.com/golang/go synced 2024-10-01 11:28:34 -06:00
go/ssa
Alan Donovan 5d7d9091bb go.tools/ssa: big simplification: use new types.MethodSet to compute ssa.MethodSet.
Details:
- emitImplicitSelections now emits common code for implicit
  field selections in both method and field lookups.
  The last iteration over the LookupFieldOrMethod indices---the explicit,
  final index---is handled by the caller.
- anonFieldPath, candidate and the BFS algo in buildMethodSet are all gone.

R=gri
CC=golang-dev
https://golang.org/cl/11576045
2013-07-19 17:35:29 -04:00
..
interp go.tools/importer: rename Context to Config for consistency with go/types. 2013-07-19 11:02:27 -04:00
testdata go.tools/go/types: use *Var instead of *Field for struct fields 2013-07-19 11:01:51 -07:00
blockopt.go go.tools/ssa: Member.Object() returns typechecker object for package members. 2013-07-11 14:12:30 -04:00
builder_test.go go.tools/importer: rename Context to Config for consistency with go/types. 2013-07-19 11:02:27 -04:00
builder.go go.tools/ssa: big simplification: use new types.MethodSet to compute ssa.MethodSet. 2013-07-19 17:35:29 -04:00
const.go go.tools/ssa: s/Literal/Const/g, s/Constant/NamedConst/g 2013-07-16 13:50:08 -04:00
create.go go.tools/ssa: big simplification: use new types.MethodSet to compute ssa.MethodSet. 2013-07-19 17:35:29 -04:00
doc.go go.tools/ssa: s/Literal/Const/g, s/Constant/NamedConst/g 2013-07-16 13:50:08 -04:00
dom.go go.tools/ssa: un-export Function.FullName. Use String. 2013-06-26 12:38:08 -04:00
emit.go go.tools/ssa: big simplification: use new types.MethodSet to compute ssa.MethodSet. 2013-07-19 17:35:29 -04:00
example_test.go go.tools/importer: rename Context to Config for consistency with go/types. 2013-07-19 11:02:27 -04:00
func.go go.tools/ssa: several small clean-ups. 2013-07-16 12:23:55 -04:00
lift.go go.tools/ssa: s/Literal/Const/g, s/Constant/NamedConst/g 2013-07-16 13:50:08 -04:00
lvalue.go go.tools/ssa: some refactorings 2013-07-18 16:59:06 -04:00
print.go go.tools/ssa: big simplification: use new types.MethodSet to compute ssa.MethodSet. 2013-07-19 17:35:29 -04:00
promote.go go.tools/ssa: big simplification: use new types.MethodSet to compute ssa.MethodSet. 2013-07-19 17:35:29 -04:00
sanity.go go.tools/ssa: s/Literal/Const/g, s/Constant/NamedConst/g 2013-07-16 13:50:08 -04:00
source_test.go go.tools/importer: rename Context to Config for consistency with go/types. 2013-07-19 11:02:27 -04:00
source.go go.tools/ssa: s/Literal/Const/g, s/Constant/NamedConst/g 2013-07-16 13:50:08 -04:00
ssa.go go.tools/ssa: s/Literal/Const/g, s/Constant/NamedConst/g 2013-07-16 13:50:08 -04:00
ssadump.go go.tools/ssa: big simplification: use new types.MethodSet to compute ssa.MethodSet. 2013-07-19 17:35:29 -04:00
util.go go.tools/ssa: several small clean-ups. 2013-07-16 12:23:55 -04:00