aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorCuong Manh Le <cuong.manhle.vn@gmail.com>2024-09-09 22:03:54 +0700
committerGopher Robot <gobot@golang.org>2024-09-10 21:30:16 +0000
commitd288776d9143370567fa56b44fa875d0e8fb02b6 (patch)
treef8bc441aed9c604ca81306a1ee045cdba51217fd /src/runtime
parentfe69121bc538260cf91f11dab705335b690e51a3 (diff)
downloadgo-d288776d9143370567fa56b44fa875d0e8fb02b6.tar.xz
cmd/compile: remove trivial closure reference
Trivial closures will be converted to global functions, thus they are not closures anymore. Using fn.IsClosure function is enough, allow removing the trivial/non-trivial closures in the code. Change-Id: Iceb186dd92c1732b101e221ebc13406db35c69ea Reviewed-on: https://go-review.googlesource.com/c/go/+/611995 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Tim King <taking@google.com> Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions