]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/typecheck: remove some un-used functions
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Mon, 9 May 2022 15:05:21 +0000 (22:05 +0700)
committerGopher Robot <gobot@golang.org>
Mon, 9 May 2022 19:28:54 +0000 (19:28 +0000)
commit6399b24539c78686e5eaf8402ac623f341c0350f
treefcccf34cbb161461e37ece261e56ce9289b30a2d
parent4861475c1a373f2004ef9f95862fb1b370577d91
cmd/compile/internal/typecheck: remove some un-used functions

CL 394576 removed FuncBody, which is the only caller of CheckUnused and
CheckReturn. CL 394556 removed all usages of curpkg.

controlLabel was added (un-intentionally?) in Cl 277920 but never used.

Change-Id: I7f47f93b4b9ae9c1a681ff4717920f8d2e7c19c1
Reviewed-on: https://go-review.googlesource.com/c/go/+/405094
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Keith Randall <khr@google.com>
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/compile/internal/typecheck/typecheck.go