mirror of
https://github.com/golang/go
synced 2024-11-24 08:00:12 -07:00
src/cmd/compile/internal/ssa: replace `s = s + x' => 's += x'.
Change-Id: I1f399a8a0aa200bfda01f97f920b1345e59956ba Reviewed-on: https://go-review.googlesource.com/c/142057 Run-TryBot: Iskander Sharipov <iskander.sharipov@intel.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
c3208842e1
commit
85066acca1
@ -98,9 +98,9 @@ func (t SparseTree) treestructure1(b *Block, i int) string {
|
||||
s := "\n" + strings.Repeat("\t", i) + b.String() + "->["
|
||||
for i, e := range b.Succs {
|
||||
if i > 0 {
|
||||
s = s + ","
|
||||
s += ","
|
||||
}
|
||||
s = s + e.b.String()
|
||||
s += e.b.String()
|
||||
}
|
||||
s += "]"
|
||||
if c0 := t[b.ID].child; c0 != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user