diff --git a/go/ssa/builder.go b/go/ssa/builder.go index 4707ebeb..e19da8f1 100644 --- a/go/ssa/builder.go +++ b/go/ssa/builder.go @@ -2227,13 +2227,13 @@ func (b *builder) buildFuncDecl(pkg *Package, decl *ast.FuncDecl) { b.buildFunction(fn) } -// BuildAll calls Package.Build() for each package in prog. +// Build calls Package.Build for each package in prog. // Building occurs in parallel unless the BuildSerially mode flag was set. // -// BuildAll is intended for whole-program analysis; a typical compiler +// Build is intended for whole-program analysis; a typical compiler // need only build a single package. // -// BuildAll is idempotent and thread-safe. +// Build is idempotent and thread-safe. // func (prog *Program) Build() { var wg sync.WaitGroup diff --git a/go/ssa/ssautil/load.go b/go/ssa/ssautil/load.go index 7c578386..5eb57a1a 100644 --- a/go/ssa/ssautil/load.go +++ b/go/ssa/ssautil/load.go @@ -21,7 +21,7 @@ import ( // loaded from source. An SSA package is created for each transitively // error-free package of lprog. // -// Code for bodies of functions is not built until BuildAll() is called +// Code for bodies of functions is not built until Build is called // on the result. // // mode controls diagnostics and checking during SSA construction.