Commit 9f85668a authored by OlgaVlPetrova's avatar OlgaVlPetrova Committed by Ian Lance Taylor

cmd/compile/internal/ssa: simplify `s = s <op> x` to `s <op>= x`

Change-Id: I366b89e35d194ca2a7eb97a8253497bd3fc2af94
Reviewed-on: https://go-review.googlesource.com/c/go/+/142019
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarKeith Randall <khr@golang.org>
parent d47526ed
......@@ -134,15 +134,15 @@ func (t *RBTint32) DebugString() string {
func (t *node32) DebugString() string {
s := ""
if t.left != nil {
s = s + "["
s = s + t.left.DebugString()
s = s + "]"
s += "["
s += t.left.DebugString()
s += "]"
}
s = s + fmt.Sprintf("%v=%v:%d", t.key, t.data, t.rank)
s += fmt.Sprintf("%v=%v:%d", t.key, t.data, t.rank)
if t.right != nil {
s = s + "["
s = s + t.right.DebugString()
s = s + "]"
s += "["
s += t.right.DebugString()
s += "]"
}
return s
}
......
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