Revert "cmd/compile: allow more inlining of functions that construct closures"
This reverts commit
f8162a0e726f4b3a9df60a37e8ca7883dde61914.
Reason for revert: https://github.com/golang/go/issues/59680
Change-Id: I91821c691a2d019ff0ad5b69509e32f3d56b8f67
Reviewed-on: https://go-review.googlesource.com/c/go/+/485498
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>