1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:04:42 -07:00
go/ssa
Robert Griesemer 66e7552830 go.tools/go/types: simplified and faster Scope
- implemented objset for tracking duplicates of fields and methods
  which permitted a simpler and faster scope implementation in turn
- related cleanups and internal renames
- fixed a couple of identifier reporting bugs

Speed of type-checking itself increased by almost 10%
(from ~71Kloc/s to ~78Kloc/s on one machine, measured
via go test -run=Self).

R=adonovan
CC=golang-dev
https://golang.org/cl/11750043
2013-07-23 21:21:37 -07:00
..
interp go.tools/go/types: simplified and faster Scope 2013-07-23 21:21:37 -07: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/go/types: simplified and faster Scope 2013-07-23 21:21:37 -07: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: drop ssa.Id in favour of types.Id function. 2013-07-19 19:38:16 -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: drop ssa.Id in favour of types.Id function. 2013-07-19 19:38:16 -04:00
promote.go go.tools/go/types: simplified and faster Scope 2013-07-23 21:21:37 -07: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: drop ssa.Id in favour of types.Id function. 2013-07-19 19:38:16 -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: opt: create elements of method sets lazily. 2013-07-23 13:38:52 -04:00