]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.unified] cmd/compile/internal/walk: fix typo in debug print
authorMatthew Dempsky <mdempsky@google.com>
Thu, 30 Jun 2022 00:22:15 +0000 (17:22 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 30 Jun 2022 16:03:25 +0000 (16:03 +0000)
commite3cdc981c802350780a3eec109980acf28fc8746
treef37247621df53d0a3ef7060335816ba3cb79d74a
parent2280d897d6e936b47565504227355ad9a509c916
[dev.unified] cmd/compile/internal/walk: fix typo in debug print

We want to print `init` here. We called `ir.TakeInit(r)` earlier, so
`r.Init()` always evaluates to nil at this point.

Change-Id: I196fdcfbf5e63c80b7bff0cce1881c9e58302501
Reviewed-on: https://go-review.googlesource.com/c/go/+/415239
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/cmd/compile/internal/walk/order.go