Commit c40934b3 authored by Russ Cox's avatar Russ Cox
Browse files

[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: default avatarMatthew Dempsky <mdempsky@google.com>
parent 280e7fd1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment