1
0
mirror of https://github.com/golang/go synced 2024-10-01 07:28:35 -06:00
go/ssa
Robert Griesemer 8901caa2b3 go.tools/go/types: Method sets for all types
- fixed method set computation
- lazily compute it for a type on demand
- lazy allocation of various temporary maps

Also:
- removed Interface.IsEmpty, Scope.IsEmpty
  (these convenience functions didn't carry their weight)
- cosmetic changes

Next:
- consolidate various lookup APIs
- use lazily computed method sets for various checks
  instead of individual lookups

R=adonovan
CC=golang-dev
https://golang.org/cl/11385044
2013-07-16 22:18:08 -07:00
..
interp go.tools/ssa: s/Literal/Const/g, s/Constant/NamedConst/g 2013-07-16 13:50:08 -04:00
testdata go.tools/ssa: s/Literal/Const/g, s/Constant/NamedConst/g 2013-07-16 13:50:08 -04: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/ssa: fix build 2013-07-10 22:14:40 -07:00
builder.go go.tools/ssa: s/Literal/Const/g, s/Constant/NamedConst/g 2013-07-16 13:50:08 -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/go/types: Method sets for all types 2013-07-16 22:18:08 -07: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: s/Literal/Const/g, s/Constant/NamedConst/g 2013-07-16 13:50:08 -04:00
example_test.go go.tools/ssa: fix build 2013-07-10 22:14:40 -07: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: add debug information for all ast.Idents. 2013-07-15 13:56:46 -04:00
print.go go.tools/ssa: s/Literal/Const/g, s/Constant/NamedConst/g 2013-07-16 13:50:08 -04:00
promote.go go.tools/ssa: several small clean-ups. 2013-07-16 12:23:55 -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/ssa: s/Literal/Const/g, s/Constant/NamedConst/g 2013-07-16 13:50:08 -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: add debug information for all ast.Idents. 2013-07-15 13:56:46 -04:00
util.go go.tools/ssa: several small clean-ups. 2013-07-16 12:23:55 -04:00