Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/compile/internal/ir: remove NewClosureExpr
The only usage of NewClosureExpr is inside NewClosureFunc, which is its alternative version. So just remove NewClosureExpr and inline it there. Change-Id: I1900f4fbb48d7b4f6e6a857f7f7760cd27302671 Reviewed-on: https://go-review.googlesource.com/c/go/+/395855 Trust: Cuong Manh Le <[email protected]> Run-TryBot: Cuong Manh Le <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Matthew Dempsky <[email protected]>
- Loading branch information