mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: clean up comments
Follow-up to CL 94256. Change-Id: I61c450dee5975492192453738f734f772e95c1a5 Reviewed-on: https://go-review.googlesource.com/97515 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
4f5389c321
commit
15b0d1376a
1 changed files with 2 additions and 2 deletions
|
|
@ -73,14 +73,14 @@ type Types struct {
|
|||
BytePtrPtr *types.Type
|
||||
}
|
||||
|
||||
// Instantiate the SSA type pointers.
|
||||
// NewTypes creates and populates a Types.
|
||||
func NewTypes() *Types {
|
||||
t := new(Types)
|
||||
t.SetTypPtrs()
|
||||
return t
|
||||
}
|
||||
|
||||
// Populate the SSA type pointers.
|
||||
// SetTypPtrs populates t.
|
||||
func (t *Types) SetTypPtrs() {
|
||||
t.Bool = types.Types[types.TBOOL]
|
||||
t.Int8 = types.Types[types.TINT8]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue