Commit 1264f6e2 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

cmd/compile: gofmt

Change-Id: I754861147838d0f6c184d8deb8a028062a1d3214
Reviewed-on: https://go-review.googlesource.com/20400Reviewed-by: default avatarRuss Cox <rsc@golang.org>
parent 21af2d39
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment