tools/ssa
Alan Donovan fc4c97d1f1 go.tools/ssa: refactoring: eliminate Builder from API.
Details:
- builder is now un-exported and is now a per-package entity.
- Package.nTo1Vars is now part of builder, where it belongs.
- CREATE phase code split out into its own file, create.go
- Context type is gone; it had become trivial after the
  Importer refactoring.
- importer.PackageInfo.Imports() now encapsulates iteration
  over imports.

Typical usage is now:
  prog := ssa.NewProgram(imp.Fset, mode)
  prog.CreatePackages(imp)
  prog.BuildAll()

Builder.BuildPackage(Package) is now Package.Build()
Builder.BuildAllPackages() is now Program.BuildAll()

R=iant, gri
CC=golang-dev
https://golang.org/cl/9970044
2013-06-03 16:46:57 -04:00
..
interp go.tools/ssa: refactoring: eliminate Builder from API. 2013-06-03 16:46:57 -04:00
blockopt.go go.tools: add missing files ssa/*.go 2013-05-17 13:25:48 -07:00
builder.go go.tools/ssa: refactoring: eliminate Builder from API. 2013-06-03 16:46:57 -04:00
create.go go.tools/ssa: refactoring: eliminate Builder from API. 2013-06-03 16:46:57 -04:00
doc.go go.tools/ssa: Value.Pos() method + remaining source position plumbing. 2013-05-30 09:59:17 -04:00
dom.go go.tools: add missing files ssa/*.go 2013-05-17 13:25:48 -07:00
emit.go go.tools/ssa: Value.Pos() method + remaining source position plumbing. 2013-05-30 09:59:17 -04:00
example_test.go go.tools/ssa: refactoring: eliminate Builder from API. 2013-06-03 16:46:57 -04:00
func.go go.types/ssa: split the load/parse/typecheck logic off into a separate package. 2013-05-31 16:14:13 -04:00
lift.go go.tools/ssa: Value.Pos() method + remaining source position plumbing. 2013-05-30 09:59:17 -04:00
literal.go go.tools/ssa: Value.Pos() method + remaining source position plumbing. 2013-05-30 09:59:17 -04:00
lvalue.go go.tools/ssa: Value.Pos() method + remaining source position plumbing. 2013-05-30 09:59:17 -04:00
print.go go.types/ssa: split the load/parse/typecheck logic off into a separate package. 2013-05-31 16:14:13 -04:00
promote.go go.tools/ssa: refactoring: eliminate Builder from API. 2013-06-03 16:46:57 -04:00
sanity.go go.tools: bring up to date 2013-05-17 14:02:47 -07:00
source.go go.types/ssa: split the load/parse/typecheck logic off into a separate package. 2013-05-31 16:14:13 -04:00
source_ast.go go.tools/ssa: Value.Pos() method + remaining source position plumbing. 2013-05-30 09:59:17 -04:00
source_test.go go.tools/ssa: refactoring: eliminate Builder from API. 2013-06-03 16:46:57 -04:00
ssa.go go.tools/ssa: refactoring: eliminate Builder from API. 2013-06-03 16:46:57 -04:00
ssadump.go go.tools/ssa: refactoring: eliminate Builder from API. 2013-06-03 16:46:57 -04:00
util.go go.types/ssa: split the load/parse/typecheck logic off into a separate package. 2013-05-31 16:14:13 -04:00