1
0
mirror of https://github.com/golang/go synced 2024-11-12 10:20:27 -07:00

cmd/compile: gofmt

Change-Id: I754861147838d0f6c184d8deb8a028062a1d3214
Reviewed-on: https://go-review.googlesource.com/20400
Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
Brad Fitzpatrick 2016-03-08 19:16:04 +00:00
parent 21af2d39c2
commit 1264f6e2d4

View File

@ -762,7 +762,7 @@ func dcommontype(s *Sym, ot int, t *Type) int {
ot = dsymptr(s, ot, gcsym, 0) // gcdata
p := Tconv(t, obj.FmtLeft|obj.FmtUnsigned)
// If we're writing out type T,
// we are very likely to write out type *T as well.
// Use the string "*T"[1:] for "T", so that the two
@ -770,7 +770,7 @@ func dcommontype(s *Sym, ot int, t *Type) int {
// amount of space taken up by reflect strings.
prefix := 0
if !strings.HasPrefix(p, "*") {
p = "*"+p
p = "*" + p
prefix = 1
}
_, symdata := stringsym(p) // string