go/ssa: update package doc to mention ssautil.CreateProgram
Change-Id: I92fb6cf5683c335826d2e84394cc594639e34fe6 Reviewed-on: https://go-review.googlesource.com/12542 Reviewed-by: Dave Cheney <dave@cheney.net>
This commit is contained in:
parent
69f53eb622
commit
7fe0389f47
|
@ -23,7 +23,7 @@
|
||||||
// such as multi-way branch can be reconstructed as needed; see
|
// such as multi-way branch can be reconstructed as needed; see
|
||||||
// ssautil.Switches() for an example.
|
// ssautil.Switches() for an example.
|
||||||
//
|
//
|
||||||
// To construct an SSA-form program, call ssa.Create on a
|
// To construct an SSA-form program, call ssautil.CreateProgram on a
|
||||||
// loader.Program, a set of type-checked packages created from
|
// loader.Program, a set of type-checked packages created from
|
||||||
// parsed Go source files. The resulting ssa.Program contains all the
|
// parsed Go source files. The resulting ssa.Program contains all the
|
||||||
// packages and their members, but SSA code is not created for
|
// packages and their members, but SSA code is not created for
|
||||||
|
|
Loading…
Reference in New Issue