]> Cypherpunks repositories - gostls13.git/commit
[dev.regabi] cmd/compile: adjust one case in walkexpr
authorRuss Cox <rsc@golang.org>
Tue, 22 Dec 2020 05:07:40 +0000 (00:07 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 22 Dec 2020 19:45:35 +0000 (19:45 +0000)
commitc40934b33d4d9f85ef5e891f8d26c3035ccce5bb
treecc43236f13d0e774de0af12e6081218e554d8018
parent280e7fd1ee47ad92b0031bbc0fa103ac25552950
[dev.regabi] cmd/compile: adjust one case in walkexpr

The mid-case n := n.(*ir.AssignExpr) does not lend itself
well to pulling the code into a new function, because n will
be a function argument and will not be redeclarable.

Change-Id: I673f2aa37eea64b083725326ed3fa36447bcc7af
Reviewed-on: https://go-review.googlesource.com/c/go/+/279426
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/walk.go