Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/compile: workaround inlining of closures with range statements
ORANGE is still not inlineable now. This CL is correct only when the range statement is statically dead, and thus not counted during the inline budget check. If we support range statements in inlining closures in the future, may require additional processing. Fixes #48033. Change-Id: I28f5755c28cfa27e41daef9eff2ae332059909bb Reviewed-on: https://go-review.googlesource.com/c/go/+/345436 Trust: Cherry Mui <[email protected]> Reviewed-by: Keith Randall <[email protected]>
- Loading branch information