]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove a few unnecessary gotos
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 12 Sep 2017 20:51:17 +0000 (22:51 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Fri, 22 Sep 2017 16:55:47 +0000 (16:55 +0000)
commit83f0af1742db6830a5b3124bbef7f6d2bf2a1ddf
treed50f3fb272f5b03a875426bd5347bafa650d0505
parentf260ae65232a88c9c6832bd954c6e0660d0773d4
cmd/compile: remove a few unnecessary gotos

Rework the logic to remove them. These were the low hanging fruit,
with labels that were used only once and logic that was fairly
straightforward.

Change-Id: I02a01c59c247b8b2972d8d73ff23f96f271de038
Reviewed-on: https://go-review.googlesource.com/63410
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/reflect.go
src/cmd/compile/internal/gc/subr.go
src/cmd/compile/internal/gc/typecheck.go
src/cmd/compile/internal/gc/walk.go