diff options
author | Josh Bleecher Snyder <josharian@gmail.com> | 2018-02-27 11:53:35 -0800 |
---|---|---|
committer | Josh Bleecher Snyder <josharian@gmail.com> | 2018-02-27 20:06:22 +0000 |
commit | 15b0d1376a4dba84e387e092ec0c8f576cdf8e8d (patch) | |
tree | fe1f71989f04757512b0efddff3330c12efa4595 /src/cmd/compile/internal/ssa/config.go | |
parent | 4f5389c321b0b5623f7cbd5b9d003920ccbb94ff (diff) | |
download | go-15b0d1376a4dba84e387e092ec0c8f576cdf8e8d.tar.gz go-15b0d1376a4dba84e387e092ec0c8f576cdf8e8d.zip |
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>
Diffstat (limited to 'src/cmd/compile/internal/ssa/config.go')
-rw-r--r-- | src/cmd/compile/internal/ssa/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/compile/internal/ssa/config.go b/src/cmd/compile/internal/ssa/config.go index 1226ca7a5a..ad8416e9e1 100644 --- a/src/cmd/compile/internal/ssa/config.go +++ b/src/cmd/compile/internal/ssa/config.go @@ -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] |