]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/walk: relocate a stray comment
authorThan McIntosh <thanm@google.com>
Thu, 18 Mar 2021 15:18:44 +0000 (11:18 -0400)
committerThan McIntosh <thanm@google.com>
Mon, 22 Mar 2021 20:20:58 +0000 (20:20 +0000)
commitd9691ffa37820e2a7e70679164eac29c675874b2
tree431d8a18e95c6000951fd92d8aae47c0d2944c5b
parenta93849b9e2326cffe4c9aef656b507e2cead8e5f
cmd/compile/internal/walk: relocate a stray comment

The explanatory comment and the associated version counter variable
for the helper routine "wrapCall" seem to have been left behind in
walk.go during the big refactoring -- move it back to where it should
be, next to wrapCall in stmt.go. Also fix a small buglet in the
comment itself.

Change-Id: I8637a838214b216581be59e01149a72282a46526
Reviewed-on: https://go-review.googlesource.com/c/go/+/303729
Trust: Than McIntosh <thanm@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/walk/stmt.go
src/cmd/compile/internal/walk/walk.go