mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: remove unused Label fields
Updates #16357. Change-Id: I37f04d83134b5e1e7f6ba44eb9a566758ef594d3 Reviewed-on: https://go-review.googlesource.com/29350 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
833ed7c431
commit
9f447c20ef
3 changed files with 0 additions and 23 deletions
|
|
@ -338,9 +338,6 @@ func compile(fn *Node) {
|
|||
|
||||
saveerrors()
|
||||
|
||||
// set up domain for labels
|
||||
clearlabels()
|
||||
|
||||
if Curfn.Type.FuncType().Outnamed {
|
||||
// add clearing of the output parameters
|
||||
for _, t := range Curfn.Type.Results().Fields().Slice() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue